Skip to content

Commit c24dfbd

Browse files
committed
Update cmake.yml
1 parent 034b6db commit c24dfbd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,13 @@ jobs:
7171
run: |
7272
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
7373
74+
- name: Install LLVM and Clang
75+
uses: KyleMayes/install-llvm-action@v2
76+
with:
77+
version: "16.0.6"
78+
7479
- name: Set Clang 16 as Default
75-
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
80+
if: matrix.os == 'ubuntu-22.04' && matrix.c_compiler == 'clang'
7681
run: |
7782
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
7883
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100

0 commit comments

Comments
 (0)