Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- arch: x86_64
runner: macos-15-intel
runs-on: ${{ matrix.runner }}
# Backstop against a hung build (e.g. a stalled Zig compile on the Intel
# runner) so the job fails fast and frees the runner instead of sitting
# until the 6-hour Actions limit. A normal job finishes in well under 10m.
timeout-minutes: 30
env:
ZIG_GLOBAL_CACHE_DIR: ${{ github.workspace }}/architect/.zig-cache
ZIG_LOCAL_CACHE_DIR: ${{ github.workspace }}/architect/.zig-cache/local
Expand Down Expand Up @@ -52,6 +56,7 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Prefetch Zig dependencies
timeout-minutes: 10
run: |
for i in 1 2 3; do
nix develop --command just setup && break
Expand All @@ -61,6 +66,7 @@ jobs:
working-directory: architect

- name: Build release
timeout-minutes: 20
run: |
for i in 1 2 3; do
nix develop --command zig build -Doptimize=ReleaseFast && break
Expand Down