CI: check compilation of all examples
This commit is contained in:
parent
09f3adf2b4
commit
5861893752
2 changed files with 11 additions and 0 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -30,6 +30,9 @@ jobs:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-linux -> x86_64-windows
|
- name: x86_64-linux -> x86_64-windows
|
||||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows-gnu
|
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows-gnu
|
||||||
|
- name: compile all examples
|
||||||
|
if: matrix.project == '.'
|
||||||
|
run: cd ${{ matrix.project }} && zig build compile-all
|
||||||
- name: launch xvfb
|
- name: launch xvfb
|
||||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||||
- name: test
|
- name: test
|
||||||
|
|
@ -68,6 +71,9 @@ jobs:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-windows -> x86_64-linux
|
- name: x86_64-windows -> x86_64-linux
|
||||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux-gnu
|
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux-gnu
|
||||||
|
- name: compile all examples
|
||||||
|
if: matrix.project == '.'
|
||||||
|
run: cd ${{ matrix.project }} && zig build compile-all
|
||||||
- name: test
|
- name: test
|
||||||
run: cd ${{ matrix.project }} && zig build test
|
run: cd ${{ matrix.project }} && zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
|
|
||||||
5
.github/workflows/m1_ci.yml
vendored
5
.github/workflows/m1_ci.yml
vendored
|
|
@ -39,3 +39,8 @@ jobs:
|
||||||
run: zig build test -Dtarget=x86_64-windows-gnu
|
run: zig build test -Dtarget=x86_64-windows-gnu
|
||||||
- name: aarch64-macos -> x86_64-linux
|
- name: aarch64-macos -> x86_64-linux
|
||||||
run: zig build test -Dtarget=x86_64-linux-gnu
|
run: zig build test -Dtarget=x86_64-linux-gnu
|
||||||
|
- name: compile all examples
|
||||||
|
if: matrix.project == '.'
|
||||||
|
run: cd ${{ matrix.project }} && zig build compile-all
|
||||||
|
env:
|
||||||
|
AGREE: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue