Skip to content

Commit

Permalink
CI: try clang 19 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Sep 17, 2024
1 parent 5e88326 commit ef632ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-24.04]
compiler: [g++-14, clang++-18]
compiler: [g++-14, clang++-19, clang++-20]
build_type: [Release, Debug]
cache: ['', Redis]
include:
Expand All @@ -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++-18" ]]; then
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
fi
if [[ ${{ matrix.compiler }} == "clang++-19" ]]; then
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
fi
if [[ ${{ matrix.compiler }} == "clang++-20" ]]; then
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble main"
fi
sudo apt-get update
sudo apt-get install z3 re2c ninja-build
if [[ ${{ matrix.compiler }} == "clang++-18" ]]; then
sudo apt-get install clang++-18
fi
if [[ ${{ matrix.compiler }} == "clang++-19" ]]; then
sudo apt-get install clang++-19
fi
if [[ ${{ matrix.compiler }} == "clang++-20" ]]; then
sudo apt-get install clang++-20
fi
if [[ "${{ matrix.cache }}" == "Redis" ]]; then
sudo apt-get install libhiredis-dev
fi
Expand Down

0 comments on commit ef632ef

Please sign in to comment.