setup-graalvm icon indicating copy to clipboard operation
setup-graalvm copied to clipboard

Can't install native-image on aarch64

Open ericdallo opened this issue 4 years ago • 4 comments

Hello! For some reason the action get a error when trying to install the native-image with gu on an aarch64, do you know anything that could help?

https://github.com/clojure-lsp/clojure-lsp/pull/541/checks?check_run_id=3501230696

/home/runner/work/_temp/50c167ba-d41a-40bb-9c14-7491e430e82b.sh: line 1: /opt/hostedtoolcache/GraalVM/21.2.0-java11-aarch64/x64/bin/gu: cannot execute binary file: Exec format error

ericdallo avatar Sep 03 '21 00:09 ericdallo

Hi! aarch64 can't work natively in github action. You need to use something like Run on arch And here you can find a config that can help.

DeLaGuardo avatar Sep 04 '21 14:09 DeLaGuardo

Thank you @DeLaGuardo! I'll try to install graalvm via that action so, maybe we should remove that aarch64 flag from this action meanwhile? 🤔

ericdallo avatar Sep 05 '21 03:09 ericdallo

The flag is still useful. There are some projects using it right now so I can't simply delete it. Instead i will add some documentation how to use it next week.

DeLaGuardo avatar Sep 05 '21 09:09 DeLaGuardo

Oh Sorry, no problem, thank you!

ericdallo avatar Sep 05 '21 14:09 ericdallo