Skip to content

Commit a17be66

Browse files
committed
Add Clang 22 to CI workflow
1 parent f6efda9 commit a17be66

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,15 @@ jobs:
297297
exe_linker_flags: -lc++,
298298
cxxver: 26,
299299
}
300+
- {
301+
name: "Linux clang-22 C++26",
302+
os: ubuntu-24.04,
303+
buildtype: Release,
304+
cxx: "clang++-22",
305+
cxx_flags: -stdlib=libc++,
306+
exe_linker_flags: -lc++,
307+
cxxver: 26,
308+
}
300309
- {
301310
name: "Windows MSVC 2017 (x64) C++17",
302311
os: windows-2022,
@@ -525,6 +534,17 @@ jobs:
525534
sudo ./llvm.sh 21
526535
sudo apt-get install libc++-21-dev libc++abi-21-dev libunwind-21-dev
527536
537+
- name: Install Clang 22
538+
id: install_clang_22
539+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-22' )
540+
shell: bash
541+
working-directory: ${{ env.HOME }}
542+
run: |
543+
wget https://apt.llvm.org/llvm.sh
544+
chmod +x llvm.sh
545+
sudo ./llvm.sh 22
546+
sudo apt-get install libc++-22-dev libc++abi-22-dev libunwind-22-dev
547+
528548
- name: Install g++ 10
529549
id: install_gcc_10
530550
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )

0 commit comments

Comments
 (0)