-
We are working on a Potential Use Cases
Initial Features
GitHub workflow examplesteps:
- uses: actions/checkout@latest
- uses: graalvm/setup-graalvm@1.0
with:
version: '22.0.0'
java-version: '11'
components: native-image,R,llvm-toolchain Options
Possible Future Features
Note that GitHub Action workers already come with the latest JDK11-based GraalVM release. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 24 replies
-
Some languages such as Ruby need a few system libraries or other components installed to be useful, so the Action should install those. |
Beta Was this translation helpful? Give feedback.
-
That sounds great @fniephaus We would like to see an option for using Mandrel as well (I am willing to contribute the corresponding parts). Something like:
|
Beta Was this translation helpful? Give feedback.
-
Good to see that this is being worked on. FWIW, I've been using https://github.com/marketplace/actions/setup-graalvm-environment in some projects too. /cc @DeLaGuardo. |
Beta Was this translation helpful? Give feedback.
-
I've been using @DeLaGuardo's action too, and it fills my needs. Maybe having an option to install the |
Beta Was this translation helpful? Give feedback.
-
It would also bei nice if it would setup ilammy/msvc-dev-cmd@v1 on Windows automatically. Something like https://github.com/helpermethod/graalvm-native-image-toolchain/blob/main/action.yml |
Beta Was this translation helpful? Give feedback.
-
I'm very interested in an "official" setup action. Your initial feature set suggests that you would set Just for reference, the step that I currently use: mkdir graalvm
wget -qO- 'https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.3.0/graalvm-ce-java17-linux-amd64-21.3.0.tar.gz' | tar xzf - --strip-components=1 -C graalvm
./graalvm/bin/gu install native-image
echo "${PWD}/graalvm/bin" >> $GITHUB_PATH
echo "org.gradle.java.installations.paths=${PWD}/graalvm" >> gradle.properties |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback, everyone! We have released an initial version of the new GitHub Action for GraalVM at: Please feel free to give it a try and file any issues or feature requests at: https://github.com/graalvm/setup-graalvm/issues |
Beta Was this translation helpful? Give feedback.
-
Nice one @fniephaus - provides great value to the community, I will share this with the community on social media! |
Beta Was this translation helpful? Give feedback.
-
Maybe it is worth including the musl toolchain for static image building on Linux? |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback, everyone! We have released an initial version of the new GitHub Action for GraalVM at:
https://github.com/marketplace/actions/github-action-for-graalvm
Please feel free to give it a try and file any issues or feature requests at: https://github.com/graalvm/setup-graalvm/issues