-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Provide multi-arch runner images #179
base: master
Are you sure you want to change the base?
Conversation
cfff595
to
36f6f0e
Compare
@bilelmoussaoui could you please take a look? |
Isn't it the same one? |
@BigmenPixel0 No. By default only the host architecture (x86_64 = |
This does not work since the binfmt tooling needs to be run at runtime, so the setup-qemu-action still needs to be used to load/register binfmt. |
What do you mean by "it will not work"? I built the images in my branch and am running them on an arm64 runner without problems. This builds an arm64 images with all binaries using the arm64 version, so there is no need for binfmt on an arm64 runner. |
Sorry I misunderstood the PR, so it concerns a non-"wildly available" type of GitHub runner. |
Yes but it makes a huge difference. On https://github.com/nanu-c/axolotl this brings down the Flatpak build for arm64 from ~180min to ~20min (~14x speedup). |
@bilelmoussaoui @barthalion could you please take a look? This is working for me since quite some time, would be great to make this available for others as well. |
Applied it at flathub-infra@79d4438. |
@barthalion The build in |
This allows running the builder action on a native aarch64 runner which is much faster than using QEMU.
Based on the official docs.
Fixes #178