Skip to content

Commit

Permalink
feat(ci): Build wasm on the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
giann committed Feb 29, 2024
1 parent 7baaa7a commit 730c3e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
run: zig build -Doptimize=ReleaseFast -Djit_always_on test
- name: Cleanup
run: rm -rf zig-out zig-cache

- name: Build for wasm
run: zig build -Dtarget=wasm32-freestanding
- name: Cleanup
run: rm -rf zig-out zig-cache
test-linux:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -93,6 +98,11 @@ jobs:
run: zig build -Doptimize=ReleaseFast -Djit_always_on test
- name: Cleanup
run: rm -rf zig-out zig-cache

- name: Build for wasm
run: zig build -Dtarget=wasm32-freestanding
- name: Cleanup
run: rm -rf zig-out zig-cache
lint:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 730c3e3

Please sign in to comment.