Skip to content

Commit 945db41

Browse files
Fix CI to use install-llvm-action CC/CXX instead of clang-21.
The cached LLVM install exposes clang/clang++ on PATH via env: true, not version-suffixed binary names. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f986886 commit 945db41

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ jobs:
2020
with:
2121
version: "21"
2222
cached: true
23+
env: true
2324
- name: Build and test (MCU)
24-
env:
25-
CXX: clang++-21
26-
CC: clang-21
2725
run: |
2826
make all
2927
make test_c_api_smoke
@@ -37,10 +35,8 @@ jobs:
3735
with:
3836
version: "21"
3937
cached: true
38+
env: true
4039
- name: Build and test (MPU)
41-
env:
42-
CXX: clang++-21
43-
CC: clang-21
4440
run: make mpu
4541

4642
mpu-asan-ubuntu:
@@ -52,10 +48,8 @@ jobs:
5248
with:
5349
version: "21"
5450
cached: true
51+
env: true
5552
- name: Build and test (MPU + ASan/UBSan)
56-
env:
57-
CXX: clang++-21
58-
CC: clang-21
5953
run: |
6054
make clean
6155
make mpu \
@@ -72,8 +66,9 @@ jobs:
7266
with:
7367
version: "21"
7468
cached: true
69+
env: true
7570
- name: Configure
76-
run: cmake -B build -DMEMKIT_EMBEDDED_LINUX=ON -DCMAKE_CXX_COMPILER=clang++-21 -DCMAKE_C_COMPILER=clang-21
71+
run: cmake -B build -DMEMKIT_EMBEDDED_LINUX=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_C_COMPILER="$CC"
7772
- name: Build
7873
run: cmake --build build
7974
- name: Test

0 commit comments

Comments
 (0)