ci: test system package build

This commit is contained in:
Mitchell Hashimoto
2024-10-24 14:57:04 -07:00
parent 92524aa2c0
commit 7f791fa74f

View File

@ -50,7 +50,7 @@ jobs:
# Cross-compile the binary. We always use static building for this
# because its the only way to access the headers.
- name: Test Build
run: nix develop -c zig build -Dstatic=true -Dapp-runtime=glfw -Dtarget=${{ matrix.target }}
run: nix develop -c zig build -Dapp-runtime=glfw -Dtarget=${{ matrix.target }}
build-bench:
# We build benchmarks on large because it uses ReleaseFast
@ -332,8 +332,9 @@ jobs:
- name: Test GLFW Build
run: nix develop -c zig build -Dapp-runtime=glfw
- name: Test Dynamic Build
run: nix develop -c zig build -Dstatic=false
# This relies on the cache being populated by the commands above.
- name: Test System Build
run: nix develop -c zig build --system ${ZIG_GLOBAL_CACHE_DIR}/p
test-macos:
runs-on: namespace-profile-ghostty-macos