Skip to content

Commit

Permalink
Drop LLVM Apt installer script on WebAssembly CI (#15109)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Oct 22, 2024
1 parent 89b1a92 commit 8237397
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/wasm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
wasm32-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container: crystallang/crystal:1.14.0-build
steps:
- name: Download Crystal source
Expand All @@ -27,10 +27,11 @@ jobs:
- name: Install LLVM
run: |
apt-get update
apt-get install -y curl lsb-release wget software-properties-common gnupg
curl -O https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 18
apt-get remove -y 'llvm-*' 'libllvm*'
apt-get install -y curl software-properties-common
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
apt-add-repository -y deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main
apt-get install -y llvm-18-dev lld-18
ln -s $(which wasm-ld-18) /usr/bin/wasm-ld
- name: Download wasm32 libs
Expand Down

0 comments on commit 8237397

Please sign in to comment.