Skip to content

Build and test from a fresh clone on Zig 0.16 - #48

Merged
SMC17 merged 1 commit into
mainfrom
fix/fresh-clone-0.16
Nov 18, 2026
Merged

SMC17 merged 1 commit into
mainfrom
fix/fresh-clone-0.16

Conversation

@SMC17

@SMC17 SMC17 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Root cause

The workspace build.zig defines test-core, test-all and test-frontier, but no test step, so zig build test on a fresh clone fails with error: no step named 'test'. The code and tests themselves already build and pass on Zig 0.16.0.

Fix

Add a test step that depends on test-core and test-all (the in-process unit suites). test-frontier is still a separate step because it shells out to jq, python3 and nested zig build runs. README now lists zig build test, and the test-core count in PLATFORM.md is updated from 75 to the measured 159.

Before / after (fresh clone, Zig 0.16.0, macOS arm64)

  • Before: zig build test --summary all → error: no step named 'test' (no Build Summary)
  • After: Build Summary: 186/186 steps succeeded; 1688/1688 tests passed
  • zig build --summary all: Build Summary: 1/1 steps succeeded

Note (not changed here): zig build test-frontier fails on macOS because arena/scripts/verify.sh uses GNU-style sed -i 's/…/…/' file, which BSD sed rejects (invalid command code f).

🤖 Generated with Claude Code

The workspace build.zig defined test-core, test-all and test-frontier
but no `test` step, so `zig build test` failed with "no step named
'test'". Add `test` as the aggregate of test-core and test-all (the
in-process unit suites). test-frontier stays separate: it shells out to
jq, python3 and nested builds.

Record measured test counts in README and PLATFORM.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SMC17
SMC17 merged commit e5fdce0 into main Nov 18, 2026
0 of 6 checks passed
@SMC17
SMC17 deleted the fix/fresh-clone-0.16 branch November 18, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant