This document describes the production binary build lane for ZeroClaw on Blacksmith-backed GitHub Actions runners.
- File:
.github/workflows/release-build.yml - Workflow name:
Production Release Build - Triggers:
- Push to
main - Push tags matching
v* - Manual dispatch (
workflow_dispatch)
- Push to
The workflow runs on the same Blacksmith self-hosted runner label-set used by the rest of CI:
[self-hosted, Linux, X64, aws-india, blacksmith-2vcpu-ubuntu-2404, hetzner]
This keeps runner routing consistent with existing CI jobs and actionlint policy.
Quality gates (must pass before release build):
cargo fmt --all -- --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked --verboseProduction build command (canonical):
cargo build --release --locked- Binary path:
target/release/zeroclaw - Uploaded artifact name:
zeroclaw-linux-amd64 - Uploaded files:
artifacts/zeroclawartifacts/zeroclaw.sha256
- Open Actions run for
Production Release Build. - Use
Re-run failed jobs(or full rerun) from the run page. - Inspect step logs in this order:
Rust quality gates->Build production binary (canonical)->Prepare artifact bundle. - Download
zeroclaw-linux-amd64from the run artifacts and verify checksum:
sha256sum -c zeroclaw.sha256- Reproduce locally from repository root with the same command set:
cargo fmt --all -- --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked --verbose
cargo build --release --locked