add helper for building

This commit is contained in:
Emil Gardström
2024-04-02 17:27:32 +02:00
parent bae8bb5745
commit 4c47c6f640
6 changed files with 171 additions and 11 deletions

View File

@@ -17,13 +17,11 @@ jobs:
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build ic10lsp
run: |
cd ic10lsp_wasm
wasm-pack build
run: |
cargo xtask build -p ic10lsp_wasm --release
- name: Build ic10emu
run: |
cd ic10emu_wasm
wasm-pack build
run: |
cargo xtask build -p ic10emu_wasm --release
- name: Build Page
run: |
cd www
@@ -52,4 +50,4 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4