Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nforgerit authored Jul 4, 2024
1 parent fcc1308 commit 13c0d14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
- name: Verify
run: emcc -v
# todo: make following call customizable
# todo: (1) add npm and vite for build env
# todo: (2) run vite to build web app
# todo: (3) make emcc call customizable
- name: Checkout
uses: actions/checkout@v4
- name: build
run: |
mkdir dist && emcc -O3 ./src/renderer/main.c \
-o ./dist/assets/app.wasm \
-o ./dist/app.wasm \
-s WASM_BIGINT \
-s EXPORTED_FUNCTIONS=["_factorial"] \
--no-entry
Expand Down

0 comments on commit 13c0d14

Please sign in to comment.