Skip to content

Commit 33241b0

Browse files
committed
add clang 16 to CI
1 parent aed5af3 commit 33241b0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,24 @@ jobs:
216216
exe_linker_flags: -lc++,
217217
cxxver: 20,
218218
}
219+
- {
220+
name: "Linux clang-16 C++17",
221+
os: ubuntu-22.04,
222+
buildtype: Release,
223+
cxx: "clang++-16",
224+
cxx_flags: -stdlib=libc++,
225+
exe_linker_flags: -lc++,
226+
cxxver: 17,
227+
}
228+
- {
229+
name: "Linux clang-16 C++20",
230+
os: ubuntu-22.04,
231+
buildtype: Release,
232+
cxx: "clang++-16",
233+
cxx_flags: -stdlib=libc++,
234+
exe_linker_flags: -lc++,
235+
cxxver: 20,
236+
}
219237
- {
220238
name: "Windows MSVC 2017 (x64) C++17",
221239
os: windows-2019,
@@ -336,6 +354,17 @@ jobs:
336354
sudo ./llvm.sh 15
337355
sudo apt-get install libc++-15-dev libc++abi-15-dev libunwind-15-dev
338356
357+
- name: Install Clang 16
358+
id: install_clang_16
359+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-16' )
360+
shell: bash
361+
working-directory: ${{ env.HOME }}
362+
run: |
363+
wget https://apt.llvm.org/llvm.sh
364+
chmod +x llvm.sh
365+
sudo ./llvm.sh 16
366+
sudo apt-get install libc++-16-dev libc++abi-16-dev libunwind-16-dev
367+
339368
- name: Install g++ 10
340369
id: install_gcc_10
341370
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )

0 commit comments

Comments
 (0)