File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 5151 FLAVOUR: ${{ matrix.flavour }}
5252
5353 - run : |
54- wasm32-wasi-cabal build jsaddle-wasm --dry-run
54+ wasm32-wasi-cabal build miso-todomvc --dry-run
5555
5656 - uses : actions/cache@v4
5757 with :
6161 ~/.ghc-wasm/.cabal/store
6262
6363 - run : |
64- wasm32-wasi-cabal build jsaddle-wasm
64+ cp -r $(find dist-newstyle -type d -name static) public
65+ wasm32-wasi-cabal install miso-todomvc --install-method=copy --installdir=public
66+ $(wasm32-wasi-ghc --print-libdir)/post-link.mjs --input public/app.wasm --output public/ghc_wasm_jsffi.js
67+
68+ - run : |
69+ git clone --ref-format=reftable --depth=1 https://github.com/haskell-wasm/playwright.git
70+ pushd playwright/examples/todomvc
71+ npm install
72+ npx playwright install --with-deps --no-shell
73+ TODOMVC_DIST_DIR=${{ github.workspace }}/public npx playwright test --reporter=list --workers=$(nproc)
74+ popd
6575
6676 ci-native :
6777 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 11dist-newstyle /
22cabal.project.local
3+ public
Original file line number Diff line number Diff line change 11packages : .
22
3+ source-repository-package
4+ type : git
5+ location : https://github.com/haskell-miso/miso-todomvc.git
6+
7+ source-repository-package
8+ type : git
9+ location : https://github.com/dmjio/miso.git
10+
311tests : True
412
513package *
@@ -21,3 +29,5 @@ package aeson
2129
2230package vector
2331 flags : -boundschecks
32+
33+ allow-newer : all :jsaddle-wasm
You can’t perform that action at this time.
0 commit comments