Fix support for GHCJS_BROWSER compilation flag of GHC #378
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-wasm32-wasi | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: setup-ghc-wasm32-wasi | |
run: | | |
pushd $(mktemp -d) | |
curl -L https://gitlab.haskell.org/ghc/ghc-wasm-meta/-/archive/master/ghc-wasm-meta-master.tar.gz | tar xz --strip-components=1 | |
./setup.sh | |
~/.ghc-wasm/add_to_github_path.sh | |
popd | |
- uses: actions/checkout@v3 | |
- name: test | |
run: | | |
cp ~/.ghc-wasm/wasi-sdk/share/misc/config.* . | |
autoreconf -i | |
wasm32-wasi-cabal --project-file=cabal.project.wasm32-wasi build | |
./test-wasm32-wasi.mjs |