CI: compile all examples for Wasm
This commit is contained in:
parent
b57fe9a420
commit
7de0776f38
2 changed files with 9 additions and 0 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -33,6 +33,9 @@ jobs:
|
|||
- name: compile all examples
|
||||
if: matrix.project == '.'
|
||||
run: cd ${{ matrix.project }} && zig build compile-all
|
||||
- name: compile all examples (WASM)
|
||||
if: matrix.project == '.'
|
||||
run: cd ${{ matrix.project }} && zig build compile-all -Dtarget=wasm32-freestanding-none
|
||||
- name: launch xvfb
|
||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||
- name: test
|
||||
|
|
@ -74,6 +77,9 @@ jobs:
|
|||
- name: compile all examples
|
||||
if: matrix.project == '.'
|
||||
run: cd ${{ matrix.project }} && zig build compile-all
|
||||
- name: compile all examples (WASM)
|
||||
if: matrix.project == '.'
|
||||
run: cd ${{ matrix.project }} && zig build compile-all -Dtarget=wasm32-freestanding-none
|
||||
- name: test
|
||||
run: cd ${{ matrix.project }} && zig build test
|
||||
x86_64-macos:
|
||||
|
|
|
|||
3
.github/workflows/m1_ci.yml
vendored
3
.github/workflows/m1_ci.yml
vendored
|
|
@ -44,3 +44,6 @@ jobs:
|
|||
run: cd ${{ matrix.project }} && zig build compile-all
|
||||
env:
|
||||
AGREE: true
|
||||
- name: compile all examples (WASM)
|
||||
if: matrix.project == '.'
|
||||
run: cd ${{ matrix.project }} && zig build compile-all -Dtarget=wasm32-freestanding-none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue