Skip to content

Commit 968afcf

Browse files
committed
Add step to install Clang21 to CI script
1 parent 705138c commit 968afcf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,17 @@ jobs:
514514
sudo ./llvm.sh 20
515515
sudo apt-get install libc++-20-dev libc++abi-20-dev libunwind-20-dev
516516
517+
- name: Install Clang 21
518+
id: install_clang_21
519+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-21' )
520+
shell: bash
521+
working-directory: ${{ env.HOME }}
522+
run: |
523+
wget https://apt.llvm.org/llvm.sh
524+
chmod +x llvm.sh
525+
sudo ./llvm.sh 21
526+
sudo apt-get install libc++-21-dev libc++abi-21-dev libunwind-21-dev
527+
517528
- name: Install g++ 10
518529
id: install_gcc_10
519530
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )

0 commit comments

Comments
 (0)