setup-graalvm
setup-graalvm copied to clipboard
Can't install native-image on aarch64
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
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.
Thank you @DeLaGuardo! I'll try to install graalvm via that action so, maybe we should remove that aarch64 flag from this action meanwhile? 🤔
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.
Oh Sorry, no problem, thank you!