Skip to content

Commit

Permalink
add clang 16 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbuhr committed Jun 12, 2023
1 parent aed5af3 commit 33241b0
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 @@ -216,6 +216,24 @@ jobs:
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Linux clang-16 C++17",
os: ubuntu-22.04,
buildtype: Release,
cxx: "clang++-16",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 17,
}
- {
name: "Linux clang-16 C++20",
os: ubuntu-22.04,
buildtype: Release,
cxx: "clang++-16",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Windows MSVC 2017 (x64) C++17",
os: windows-2019,
Expand Down Expand Up @@ -336,6 +354,17 @@ jobs:
sudo ./llvm.sh 15
sudo apt-get install libc++-15-dev libc++abi-15-dev libunwind-15-dev
- name: Install Clang 16
id: install_clang_16
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-16' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16
sudo apt-get install libc++-16-dev libc++abi-16-dev libunwind-16-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 33241b0

Please sign in to comment.