Skip to content

fix(ci)/cicd add aarch64 musl release - #3318

Open
stavrosfilippidis wants to merge 2 commits into
rtk-ai:developfrom
stavrosfilippidis:feat/cicd-add-aarch64-musl-release
Open

fix(ci)/cicd add aarch64 musl release#3318
stavrosfilippidis wants to merge 2 commits into
rtk-ai:developfrom
stavrosfilippidis:feat/cicd-add-aarch64-musl-release

Conversation

@stavrosfilippidis

@stavrosfilippidis stavrosfilippidis commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • Adds aarch64-unknown-linux-musl to the release build matrix, enabling ARM64 users on glibc-constrained systems (Ubuntu 22.04 LTS, Graviton EC2) to use prebuilt binaries
  • Updates Homebrew formula to prefer musl (static linking) for Linux ARM64, matching the existing x86_64-musl approach for cross-platform compatibility
  • Updates checksum parsing and documentation to include the new aarch64-musl binary in releases

Addresses: #3241

Test plan

  • Tested locally: docker run ubuntu:latest with full cargo build --release --target aarch64-unknown-linux-musl ✓ Binary created successfully (~5.2MB)
  • Verified YAML syntax: yamllint .github/workflows/release.yml
  • Pre-commit gate passed: cargo fmt --all --check && cargo clippy --all-targets && cargo test --all ✓ (2565 tests pass)
  • CI validation: Release workflow will build all 5 targets (macOS x86/ARM, Linux x86/ARM-musl/ARM-gnu, Windows)
  • Homebrew integration: Verify formula generates correctly with aarch64-musl checksums

- Enables ARM64 users on glibc-constrained systems (Ubuntu 22.04 LTS, Graviton EC2)
- Uses musl for static linking (works on any Linux distro)
- Matches existing x86_64-musl approach for consistency
- Tested locally: docker run ubuntu:latest with cargo build --target aarch64-unknown-linux-musl ✓

Signed-off-by: Stavros <stavrosfilipps@proton.me>
- Formula/rtk.rb: Changed Linux ARM target from gnu to musl (static linking)
- README.md: Updated pre-built binary list to show aarch64-musl instead of aarch64-gnu

This matches the release workflow changes that now build aarch64-musl for better
cross-distro compatibility on Linux ARM64 systems.

Signed-off-by: Stavros <stavrosfilipps@proton.me>
@stavrosfilippidis stavrosfilippidis changed the title Feat/cicd add aarch64 musl release fix(ci)/cicd add aarch64 musl release Jul 30, 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.

1 participant