diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e3645b5..73b5b3e 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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