From 823739796219bb1994b02b1b3db99061ef38f409 Mon Sep 17 00:00:00 2001 From: Quinton Miller Date: Wed, 23 Oct 2024 04:36:46 +0800 Subject: [PATCH] Drop LLVM Apt installer script on WebAssembly CI (#15109) --- .github/workflows/wasm32.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wasm32.yml b/.github/workflows/wasm32.yml index 2bb03f6cc5a3..9a6472ca2d6e 100644 --- a/.github/workflows/wasm32.yml +++ b/.github/workflows/wasm32.yml @@ -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 @@ -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