Skip to content

feat: Publish Linux arm64 release binaries - #397

Open
MeowLuckly wants to merge 3 commits into
contentauth:mainfrom
MeowLuckly:ci/linux-arm64-release
Open

MeowLuckly wants to merge 3 commits into
contentauth:mainfrom
MeowLuckly:ci/linux-arm64-release

Conversation

@MeowLuckly

Copy link
Copy Markdown

Changes in this pull request

Closes #396.

Adds native Linux ARM64 (aarch64-unknown-linux-gnu) CI test coverage and release binary/SBOM builds using GitHub's hosted ubuntu-24.04-arm runner:

  • .github/workflows/ci.yml: Added ubuntu-24.04-arm to the tests-cli OS matrix and updated the Codecov comment from six to eight legs (Codecov remains restricted to ubuntu-latest + stable).
  • .github/workflows/c2patool-release.yml: Added an ubuntu-24.04-arm build matrix entry publishing ${{ github.ref_name }}-aarch64-unknown-linux-gnu.tar.gz and ${{ github.ref_name }}-aarch64-unknown-linux-gnu-sbom.json. Artifact upload uses c2patool-${{ matrix.os }}, avoiding collisions with ubuntu-latest. Kept Makefile unchanged (c2patool_linux_intel.tar.gz as intermediate tarball) to keep the diff minimal.
  • .github/workflows/beta-preflight.yml: Added ubuntu-24.04-arm to tests-cli to stay in sync with ci.yml.
  • deny.toml: Added { triple = "aarch64-unknown-linux-gnu" } under [graph].targets.
  • docs/support-tiers.md: Added Ubuntu ARM64 (aarch64-unknown-linux-gnu, ubuntu-24.04-arm) to Tier 1A and the Linux build artifacts list.
  • README.md: Added the Linux (ARM64) prebuilt binary entry under Installation, keeping the existing c2patool-vx.y.z-... format in that section (happy to align the filename prefix with vx.y.z-... if preferred).

YAML syntax for all modified workflows and TOML syntax for deny.toml were validated locally.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@cdmurph32 cdmurph32 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One follow-up note inline.

sbom_asset_name: ${{ github.ref_name }}-x86_64-unknown-linux-gnu-sbom.json
- os: ubuntu-24.04-arm
artifact_name: c2patool_linux_intel.tar.gz # `make release` uses this name on all Linux hosts
asset_name: ${{ github.ref_name }}-aarch64-unknown-linux-gnu.tar.gz

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add package.metadata.binstall in Cargo.toml alongside the new release asset? Without that target/package mapping, cargo-binstall won’t know how to use this aarch64 archive.

@MeowLuckly MeowLuckly closed this Dec 2, 2026
@MeowLuckly MeowLuckly reopened this Dec 2, 2026
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.

Publish Linux arm64 (aarch64-unknown-linux-gnu) release binaries

3 participants