From 98b593242502bb89f449d7cf4e73da348897ca5a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 5 Jan 2025 18:56:10 +0800 Subject: [PATCH] Test --- .github/workflows/ci-wasm32-wasi.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-wasm32-wasi.yml b/.github/workflows/ci-wasm32-wasi.yml index 1249940..845d192 100644 --- a/.github/workflows/ci-wasm32-wasi.yml +++ b/.github/workflows/ci-wasm32-wasi.yml @@ -11,6 +11,7 @@ jobs: GHC: 9.10.1.20241021 steps: - name: Install GHCup + id: ghcup uses: haskell/ghcup-setup@v1 with: cabal: latest-prerelease @@ -30,8 +31,8 @@ jobs: ./setup.sh popd source ~/.ghc-wasm/env - ghc=$(ghcup -s cross list -r -t ghc -o | grep wasm | tail -1 | awk '{ print $2 }') - ghcup install ghc --set ${ghc} -- --host=x86_64-linux --with-intree-gmp --with-system-libffi + ghc=$(${{ steps.ghcup.outputs.path }} -s cross list -r -t ghc -o | grep wasm | tail -1 | awk '{ print $2 }') + ${{ steps.ghcup.outputs.path }} install ghc --set ${ghc} -- --host=x86_64-linux --with-intree-gmp --with-system-libffi - uses: actions/checkout@v4 @@ -39,6 +40,8 @@ jobs: run: | set -eux + source ~/.ghc-wasm/env + cp ~/.ghc-wasm/wasi-sdk/share/misc/config.* . autoreconf -i