Closed
Description
Sub-issue of #59.
What
benchmark-stats.yml builds the reld front door on the native runner before benchmarking:
Build Windows COFF reld front door→ci.windows_ci build-benchmark-driverBuild macOS Mach-O reld front door→cargo build --release -p reld
Those are the scarce, queue-prone runners, and the compile does not need to happen on the target OS. reld-bench needs only the binary and a frozen corpus, which makes this the cleanest candidate of #59's three legs.
Scope
- Add a cross-build job to
benchmark-stats.ymlthat builds the release product forx86_64-pc-windows-msvcandaarch64-apple-darwinonubuntu-24.04through the blessed soldr front door, and uploads each as an artifact — the shapecross-ship.ymlalready proves. - The Windows and macOS benchmark legs download that artifact instead of compiling. The Linux leg keeps building natively (it is cheap, and it is the native-engine measurement).
- Keep the driver shim layout (
reld-link.exe,ld64.reld) exactly as the benchmark runner expects, soci/benchmark_runner.pyneeds no change. - Pin the new shape in
ci/tests/test_benchmark_workflow.py.
Care
A benchmark measures what it links with. The published latest.json records mode and engine per series; make sure a cross-built binary is still labelled honestly and that the coverage gate (#63) still fails on a missing or unexpected linker.
Acceptance
- No
cargo buildof the product on the windows or macos benchmark legs. - A scheduled or dispatched full run publishes all three targets as before.
ci/testspins the new contract.
Metadata
Metadata
Assignees
Labels
No labels
Activity
ci(benchmark): cross-build reld driver shims off Windows/macOS runners (
fix(ci): keep the benchmark cross-build matrix from evaluating to emp…
zackees commentedon Sep 18, 2026
Done in #172, with the empty-matrix follow-up in #173. Its integrating agent wrote "Part of #168" rather than a closing keyword, so the merge did not close this.
Validated on a live
platforms=allrun on main (35293901609), all green through publish and the freshness check. The Windows and macOS legs compiled nothing: each logsUsing cross-built … driverand contains noCompiling reld. The Linux leg still builds natively, as intended.