Skip to content

Commit d20db24

Browse files
committed
fix ci
1 parent a030d74 commit d20db24

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ jobs:
9696
if: ${{ startsWith(matrix.os, 'ubuntu') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
9797
run: |
9898
apt-get install -y lsb-release wget software-properties-common gnupg
99-
wget https://apt.llvm.org/llvm.sh
100-
chmod +x llvm.sh
101-
./llvm.sh 18 # install LLVM version 18
99+
echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs) main" | tee -a /etc/apt/sources.list.d/llvm.list
100+
echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-defaults main" | tee -a /etc/apt/sources.list.d/llvm.list
101+
apt-get update -y
102+
apt-get install -y llvm-defaults clang
102103
- name: Setup Python
103104
if: ${{ startsWith(matrix.os, 'ubuntu') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
104105
run: |

0 commit comments

Comments
 (0)