DeLaGuardo / setup-graalvm

MIT License
62 stars 17 forks source link

Can't install native-image on aarch64 #19

Open ericdallo opened 3 years ago

ericdallo commented 3 years ago

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
DeLaGuardo commented 3 years ago

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.

ericdallo commented 3 years ago

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

DeLaGuardo commented 3 years ago

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.

ericdallo commented 3 years ago

Oh Sorry, no problem, thank you!