Skip to content

Commit f59b6f0

Browse files
committed
ci: add installation step for LLVM 21 in llvm-backend lane
1 parent 979f7fa commit f59b6f0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ jobs:
5252
- name: Cache cargo artifacts
5353
uses: Swatinem/rust-cache@v2
5454

55+
- name: Install LLVM 21 (llvm-backend lane only)
56+
if: matrix.lane == 'llvm-backend'
57+
run: |
58+
wget -qO llvm.sh https://apt.llvm.org/llvm.sh
59+
chmod +x llvm.sh
60+
sudo ./llvm.sh 21 all
61+
echo "LLVM_SYS_211_PREFIX=/usr/lib/llvm-21" >> "$GITHUB_ENV"
62+
5563
- name: Build zynml for selected backend lane
5664
run: cargo check -p zynml ${{ matrix.cargo_features }}
5765

0 commit comments

Comments
 (0)