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