-
Notifications
You must be signed in to change notification settings - Fork 213
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
Fix native-image mapping for aarch64, #474 #475
Conversation
There is no way to test this on GH actions yet. |
I'll glad to update GH actions to support aarch64 builds. But before that, i find jansi-native also do not support aarch64 due to same problem. So this fix cannot actually work until we release a newer jansi version with aarch64 support. |
That was just a side note, not a reason against this, sorry :)
I wonder how? AFAIK aarch64 is not supported yet. |
Oh i just mean that it's my pleasure to update GH actions~ sorry for my poor english :->)
AFAIK the platform dependent part of mvnd is native image building and jansi dependency, it only needs a few work to compat with aarch64, and it's my pleasure to figure it out if i'm wrong :) Then just like how we have done in jansi, my idea is to use docker image multiarch/crossbuild to build and test aarch64 releases in GH actions.
|
Thanks for the explanation (I am really unexperienced with arm builds and testing on Linux) |
Running our tests also on aarch64 would be nice, but it is not a blocker in case there is no way to do it on GH Actions or on some other free CI. |
You are right. The solution above can only test and build binary in docker but not directly in GH actions, which can not block invalid PRs. Specify a arm64 machine to run GH actions will be the best solution, but it seems that only self-hosted machines is supported so far. |
You can use https://github.com/docker/setup-qemu-action to allow running - uses: docker/setup-qemu-action@v1
with:
platforms: arm64 |
That’s great! I will try it later when i finish my current works, thanks for your help~ |
No description provided.