Skip to content

ci: add aarch64 (arm64) Linux release build#556

Merged
RobertMueller2 merged 1 commit into
Satty-org:mainfrom
MAY4VFX:ci/aarch64-release
Jun 27, 2026
Merged

ci: add aarch64 (arm64) Linux release build#556
RobertMueller2 merged 1 commit into
Satty-org:mainfrom
MAY4VFX:ci/aarch64-release

Conversation

@MAY4VFX

@MAY4VFX MAY4VFX commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What

Adds an aarch64 (arm64) Linux target to the release workflow, so each release also ships satty-aarch64-unknown-linux-gnu.tar.gz alongside the existing x86_64 tarball.

Why

There are currently no prebuilt aarch64 binaries. Users on arm64 Linux (Asahi/Apple Silicon Linux, Raspberry Pi, Pinebook Pro, arm64 servers/VMs, etc.) have to build from source, which is slow on these devices.

How

The existing build runs inside ghcr.io/gtk-rs/gtk4-rs/gtk4:latest, which is amd64-only, so it can't simply be reused on an arm64 runner. Instead the aarch64 leg:

  • runs natively on GitHub's free ubuntu-24.04-arm runner (no cross-compilation),
  • runs without a container (the container is now selected per-matrix-entry via container: ${{ matrix.container }}; empty string = run on host),
  • installs GTK4/libadwaita via apt (libgtk-4-dev libadwaita-1-dev) instead of the Fedora container's yum.

The x86_64 leg is unchanged. Diff is +16/-5.

Tested

Built green on a fork — both legs and the flatpak job succeed, and the aarch64 tarball is produced and attached to the release:

https://github.com/MAY4VFX/Satty/releases/tag/v0.99.0

The resulting binary runs correctly on a Pinebook Pro (RK3399, ARMv8.0) under Debian 13 / niri.

🤖 Generated with Claude Code

Build the aarch64-unknown-linux-gnu target natively on GitHub's free
ubuntu-24.04-arm runner. The existing gtk4-rs container is amd64-only, so
aarch64 runs without a container and installs GTK4/libadwaita via apt.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@robertwidfen

Copy link
Copy Markdown
Collaborator

LGTM - Claude did a good job 🤣

But I am not into this workflow stuff - so another 👁️ by @RobertMueller2 would be good.

@RobertMueller2

RobertMueller2 commented Jun 26, 2026

Copy link
Copy Markdown
Member

yeah, I'll have a look soonish. Should even be able to try the generated package on a chromebook ;)

EDIT: which has a Bookworm Debian, which is too old (libc6 version). Need to figure out a different way to test the package. Or upgrade the Debian version, but not today.

@RobertMueller2

Copy link
Copy Markdown
Member

lgtm, thanks!

@RobertMueller2 RobertMueller2 merged commit ff0c0d3 into Satty-org:main Jun 27, 2026
3 checks passed
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.

3 participants