ci: add binary-release workflow for Linux targets#120
Merged
Conversation
… PMAT-068) The existing release.yml uses [self-hosted, clean-room] runners for the build-binaries matrix; v1.3.0 ended up with only 1 of the expected 6 binaries attached. This new workflow runs in parallel on github-hosted ubuntu-latest runners and reliably attaches 4 Linux targets (x86_64/aarch64 × musl/gnu) on every release. Replicates the provable-contracts checkout + symlink + pv codegen dance required by forjar's path dep, builds with --features vendored-openssl, strips, archives as forjar-<tag>-<target>.tar.gz with sha256 sidecar. Triggered by release: published and workflow_dispatch (for backfill). macOS targets deferred to a follow-up. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/binary-release.yml— release-triggered workflow that attaches cross-compiledforjarbinaries (4 Linux targets) to GitHub Releases astar.gz+sha256.Mirrors the pattern shipped in paiml/paiml-mcp-agent-toolkit#binary-release.yml — release event triggers binary build, decoupled from
cargo publish.Targets
Triggers
release: published— fires automatically when a release is publishedworkflow_dispatch— manual re-run / backfill, takes a tag inputTest plan
workflow_dispatchwith an existing tag → verify clobber upload