diff --git a/.github/workflows/bvt-clang.yml b/.github/workflows/bvt-clang.yml index a88d076..7dea031 100644 --- a/.github/workflows/bvt-clang.yml +++ b/.github/workflows/bvt-clang.yml @@ -7,7 +7,7 @@ on: jobs: bvt-clang: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 with: @@ -15,12 +15,6 @@ jobs: - name: install clang run: | - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" -y - sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" -y - sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" -y - sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" -y - sudo apt update sudo apt install -y clang-15 clang-16 clang-17 clang-18 - name: check compiler versions diff --git a/.github/workflows/bvt-gcc.yml b/.github/workflows/bvt-gcc.yml index dd29012..142dfa6 100644 --- a/.github/workflows/bvt-gcc.yml +++ b/.github/workflows/bvt-gcc.yml @@ -7,7 +7,7 @@ on: jobs: bvt-gcc: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 with: @@ -15,15 +15,14 @@ jobs: - name: install gcc run: | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt update - sudo apt install -y gcc-11 g++-11 gcc-12 g++-12 gcc-13 g++-13 + sudo apt install -y gcc-11 g++-11 gcc-12 g++-12 gcc-13 g++-13 gcc-14 g++-14 - name: check compiler versions run: | g++-11 --version g++-12 --version g++-13 --version + g++-14 --version - name: build and run test with gcc 11 run: | @@ -42,3 +41,9 @@ jobs: cmake -B build-gcc-13 -DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13 cmake --build build-gcc-13 -j ctest --test-dir build-gcc-13 -j + + - name: build and run test with gcc 14 + run: | + cmake -B build-gcc-14 -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 + cmake --build build-gcc-14 -j + ctest --test-dir build-gcc-14 -j