run tests against both stage1 and stage2

This commit is contained in:
Mitchell Hashimoto
2022-10-14 10:05:13 -07:00
parent 33f51f1f3d
commit 56c9979db5

View File

@ -40,6 +40,9 @@ jobs:
- name: Test Build
run: nix develop -c zig build -fstage1 -Dstatic=true -Dtarget=${{ matrix.target }}
- name: Test Build stage2
run: nix develop -c zig build -Dstatic=true -Dtarget=${{ matrix.target }}
test:
strategy:
matrix:
@ -60,6 +63,9 @@ jobs:
- name: test
run: nix develop -c zig build test -fstage1
- name: test stage2
run: nix develop -c zig build test
- name: Test Dynamic Build
run: nix develop -c zig build -fstage1 -Dstatic=false