Skip to content

Commit

Permalink
Add clang++-20 compiler to Linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Feb 18, 2025
1 parent 76d5178 commit 31d33a7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
compiler: [g++-11, g++-12, g++-13, g++-14, clang++-17, clang++-18, clang++-19]
compiler: [g++-11, g++-12, g++-13, g++-14, clang++-17, clang++-18, clang++-19, clang++-20]
configuration: [Debug, Release]
exclude:
- os: ubuntu-22.04
Expand All @@ -21,6 +21,8 @@ jobs:
compiler: clang++-18
- os: ubuntu-22.04
compiler: clang++-19
- os: ubuntu-22.04
compiler: clang++-20

- os: ubuntu-24.04
compiler: g++-11
Expand All @@ -36,6 +38,12 @@ jobs:
chmod +x llvm.sh
sudo ./llvm.sh 19
echo "CXXFLAGS=\"--gcc-install-dir=/usr/lib/gcc/x86_64-linux-gnu/13\"" >> "$GITHUB_ENV"
- name: prepare clang++-20
if: matrix.compiler == 'clang++-20'
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 20
- name: configure
run: CXX=${{ matrix.compiler }} cmake -Werror=dev -D CMAKE_BUILD_TYPE=${{ matrix.configuration }} -D ENABLE_TESTS="unit" -D CMAKE_COMPILE_WARNING_AS_ERROR=1 -B build
- name: build source
Expand Down

0 comments on commit 31d33a7

Please sign in to comment.