Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jan 5, 2025
1 parent 38885eb commit 98b5932
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-wasm32-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,15 +31,17 @@ 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

- name: test
run: |
set -eux
source ~/.ghc-wasm/env
cp ~/.ghc-wasm/wasi-sdk/share/misc/config.* .
autoreconf -i
Expand Down

0 comments on commit 98b5932

Please sign in to comment.