Skip to content

Add arm64 and armhf binaries to releases#295

Open
vpetersson wants to merge 1 commit into
masterfrom
add-arm-release-binaries
Open

Add arm64 and armhf binaries to releases#295
vpetersson wants to merge 1 commit into
masterfrom
add-arm-release-binaries

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

What

Adds two Linux ARM targets to the release build matrix in .github/workflows/release.yml:

  • arm64aarch64-unknown-linux-gnu
  • armhfarmv7-unknown-linux-gnueabihf (standard Debian hardfloat / ARMv7)

These produce screenly-cli-aarch64-unknown-linux-gnu.tar.gz and screenly-cli-armv7-unknown-linux-gnueabihf.tar.gz release assets.

Why

Provide prebuilt binaries for ARM hosts (e.g. arm64 servers, ARMv7 devices) so users don't have to build from source.

Notes

  • The existing workflow already uses cross for every Linux target, so these slot in with no other changes needed.
  • Binaries are not stripped — the strip step only runs for the x86_64 linux and macos builds. This matches the existing linux-musl behavior.
  • armhf is armv7-unknown-linux-gnueabihf (ARMv7). If ARMv6 (Pi Zero / Pi 1) support is needed, that would be a separate arm-unknown-linux-gnueabihf target.

Testing

Verified locally with cross (matching CI's cargo install cross):

  • cross build --release --target aarch64-unknown-linux-gnu
  • cross build --release --target armv7-unknown-linux-gnueabihf ✅ (incl. vendored OpenSSL C build per arch)
  • file confirmed correct architectures (ARM aarch64 64-bit; ARM 32-bit EABI5 hardfloat)
  • Reproduced the tar czvf packaging step — both archives build cleanly

🤖 Generated with Claude Code

Add aarch64-unknown-linux-gnu (arm64) and armv7-unknown-linux-gnueabihf
(armhf) targets to the release build matrix. Both compile via the
existing cross-based pipeline; verified locally with cross build for
each target.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants