Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitHub Actions aarch64 runners #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bgilbert
Copy link

@bgilbert bgilbert commented Jan 17, 2025

GitHub now offers free aarch64 runners. Automatically select the default apk-tools-url and arch to match the CPU architecture of the current runner. Run armv7 and armhf without QEMU on aarch64 runners. For symmetry, allow emulating x86 and x86_64 on aarch64.

Document how to run aarch64 without emulation. Change existing aarch64 examples to ppc64le, to avoid encouraging emulation of aarch64.

Fixes #11.

GitHub now offers free aarch64 runners:

    https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

Automatically select the default apk-tools-url and arch to match the CPU
architecture of the current runner.  Run armv7 and armhf without QEMU on
aarch64 runners.  For symmetry, allow emulating x86 and x86_64 on aarch64.

Document how to run aarch64 without emulation.  Change existing aarch64
examples to ppc64le, to avoid encouraging emulation of aarch64.

Fixes jirutka#11.
The aarch64 runners are notably faster than the x86_64 ones.
@bgilbert
Copy link
Author

In my tests, CPU emulation on the aarch64 runners is notably faster than on x86_64, so I've added a commit noting that in the README.

@neheb
Copy link

neheb commented Jan 18, 2025

Oh? 32-bit arm is native now? That's real nice.

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.

Detect native arch dynamically
2 participants