Fixed wasm build step.
h3rald h3rald@h3rald.com
Sat, 14 Dec 2024 18:17:30 +0100
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
.github/workflows/release.yml
→
.github/workflows/release.yml
@@ -73,9 +73,9 @@ - name: Create artifact (Linux, macOS)
run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_arm64.zip hex if: matrix.os == 'macos-latest' - # Generate WASM binary - - name: Generate WASM binary - run: emcc -O2 -sASYNCIFY -sEXPORTED_RUNTIME_METHODS=stringToUTF8 hex.c -o hex.js + # Build WASM binary + - name: Build WASM binary + run: make wasm if: matrix.os == 'ubuntu-latest' # Package the resulting WASM binary