diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c10763db6..89d105f9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - compiler: [g++-11, clang++-17] + compiler: [g++-11, clang++-17, clang++-18] build_type: [Release, Debug] cache: ['', Redis] include: @@ -29,20 +29,20 @@ jobs: if: runner.os == 'Linux' run: | wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - if [[ ${{ matrix.compiler }} == "clang++-16" ]]; then - sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" - fi if [[ ${{ matrix.compiler }} == "clang++-17" ]]; then sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" fi + if [[ ${{ matrix.compiler }} == "clang++-18" ]]; then + sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" + fi sudo apt-get update sudo apt-get install z3 re2c ninja-build - if [[ ${{ matrix.compiler }} == "clang++-16" ]]; then - sudo apt-get install clang++-16 - fi if [[ ${{ matrix.compiler }} == "clang++-17" ]]; then sudo apt-get install clang++-17 fi + if [[ ${{ matrix.compiler }} == "clang++-18" ]]; then + sudo apt-get install clang++-18 + fi if [[ "${{ matrix.cache }}" == "Redis" ]]; then sudo apt-get install libhiredis-dev fi