Skip to content

Commit

Permalink
Building wasn in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharad committed Nov 13, 2024
1 parent ff91869 commit 4f562d4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/haskell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,16 @@ jobs:
uses: freckle/stack-action@v5
with:
stack-build-arguments: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"

- name: Set up environment variable
run: echo "FLAVOUR=9.8" >> $GITHUB_ENV

- name: Download wasm32-wasi-cabal
run: |
curl https://gitlab.haskell.org/ghc/ghc-wasm-meta/-/raw/master/bootstrap.sh | sh
source ~/.ghc-wasm/add_to_github_path.sh
- name: Building wasm
run: |
wasm32-wasi-cabal build sql2er-wasm -f build-sql2er-wasm

0 comments on commit 4f562d4

Please sign in to comment.