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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@ jobs:
version: ${{ env.ZIG_VERSION }}
- run: zig build test

# Debug catches overflow and bounds violations by panicking; the release
# modes are where a wrong assumption turns into wrong output instead. Run
# both, on Linux only, since these catch codegen and safety differences
# rather than platform ones.
test-release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
optimize: [ReleaseSafe, ReleaseFast]
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}
- run: zig build test -Doptimize=${{ matrix.optimize }}

cross-compile:
runs-on: ubuntu-latest
strategy:
Expand Down
Loading