Skip to content

ci(release): build x86_64-apple-darwin and aarch64-unknown-linux-gnu - #202

Open
zlatkoc wants to merge 2 commits into
owainlewis:mainfrom
zlatkoc:release-more-targets
Open

zlatkoc wants to merge 2 commits into
owainlewis:mainfrom
zlatkoc:release-more-targets

Conversation

@zlatkoc

@zlatkoc zlatkoc commented Oct 10, 2026

Copy link
Copy Markdown

Summary

Adds two targets to the release matrix, so every target install.sh recognizes gets an archive.

  • The matrix becomes an include: list of {os, target}.
  • aarch64-unknown-linux-gnu builds natively on ubuntu-24.04-arm.
  • x86_64-apple-darwin is cross-compiled on macos-latest with --target.
  • Packaging uses matrix.target instead of the host triple. Artifact names use the target because two entries share macos-latest.

A separate commit fixes a new clippy lint (chunks_exact_to_as_chunks) in Rust 1.99 that fails -D warnings on current main.

Why

Intel macOS and ARM Linux users get "no release asset found" from the installer.

Test plan

  • Cross-built both targets locally from main; the x86_64-apple-darwin binary runs under Rosetta.
  • cargo clippy --all-targets -- -D warnings is clean for all four targets.
  • Ran the Package step's shell commands on both binaries; archive layout matches and checksums verify.
  • actionlint passes on release.yml.
  • cargo fmt --check, clippy, cargo test, tests/install.sh and tests/release-version.sh pass on Rust 1.99.
  • Not run: the release workflow itself, which only runs on a tag.

Risks

  • Adds one ARM Linux job and one macOS job per release, so more CI minutes.
  • Docs still say Apple Silicon / x86_64 Linux only. I'd update them once a release actually ships the new archives.

Related issue

Closes #201

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
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.

feat: publish release archives for x86_64-apple-darwin and aarch64-unknown-linux-gnu

1 participant