Skip to content

Commit

Permalink
Add clang 17 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbuhr committed Dec 4, 2024
1 parent 2743853 commit 13d0c5d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,24 @@ jobs:
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Linux clang-17 C++17",
os: ubuntu-24.04,
buildtype: Release,
cxx: "clang++-17",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 17,
}
- {
name: "Linux clang-17 C++20",
os: ubuntu-24.04,
buildtype: Release,
cxx: "clang++-17",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Windows MSVC 2017 (x64) C++17",
os: windows-2019,
Expand Down Expand Up @@ -413,6 +431,17 @@ jobs:
sudo ./llvm.sh 16
sudo apt-get install libc++-16-dev libc++abi-16-dev libunwind-16-dev
- name: Install Clang 17
id: install_clang_17
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-17' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17
sudo apt-get install libc++-17-dev libc++abi-17-dev libunwind-17-dev
- name: Install g++ 10
id: install_gcc_10
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )
Expand Down

0 comments on commit 13d0c5d

Please sign in to comment.