Skip to content

Commit 4f562d4

Browse files
committed
Building wasn in CI
1 parent ff91869 commit 4f562d4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/haskell.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,16 @@ jobs:
2424
uses: freckle/stack-action@v5
2525
with:
2626
stack-build-arguments: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
27-
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
27+
stack-build-arguments-test: --ghc-options="-fno-warn-unused-imports -fno-warn-unused-matches -fno-warn-type-defaults -fno-warn-missing-export-lists"
28+
29+
- name: Set up environment variable
30+
run: echo "FLAVOUR=9.8" >> $GITHUB_ENV
31+
32+
- name: Download wasm32-wasi-cabal
33+
run: |
34+
curl https://gitlab.haskell.org/ghc/ghc-wasm-meta/-/raw/master/bootstrap.sh | sh
35+
source ~/.ghc-wasm/add_to_github_path.sh
36+
37+
- name: Building wasm
38+
run: |
39+
wasm32-wasi-cabal build sql2er-wasm -f build-sql2er-wasm

0 commit comments

Comments
 (0)