Repository navigation
feat(ci): build prebuilt binaries on tag push - #10
Merged
Merged
Conversation
Trying Oxidiris required a Rust toolchain, which is too high a price for "have a look at this". A tagged release now carries a binary for Linux (x86_64, aarch64), macOS (x86_64, aarch64) and Windows (x86_64), plus a SHA256SUMS file. Linux targets musl rather than gnu: every dependency in the tree is pure Rust, so the build is fully static (2.2 MB x86_64, 1.9 MB aarch64, verified with ldd) and runs on any distribution. A gnu build would bind to the runner's glibc and fail on older systems. The publish job refuses to run when the tag does not match the workspace version in Cargo.toml. v0.1.0 shipped a manifest claim that did not match reality and only CI caught it; this makes the equivalent mistake at tag time impossible. workflow_dispatch runs the same matrix but publishes nothing, so this file can be smoke-tested without cutting a tag. Hand-rolled rather than cargo-dist, which the OXD-077 scope named: five targets of a single binary with no C dependencies would need more generated config than the workflow it replaces, and the archive names are load bearing for the README install commands and a future Homebrew formula. Reasoning recorded in BACKLOG.md. Advances OXD-077. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CnxWi8AHLUKkDkBhkhoDSU
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.
Advances
OXD-077. Adds .github/workflows/release.yml: a five-target build matrix on a v* tag, a SHA256SUMS file,
and a guard that refuses to publish when the tag does not match the workspace version. README gains
copy-paste install commands per platform.