mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
14 lines
435 B
Bash
14 lines
435 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
|
|
echo Installing GraalVM...
|
|
brew install --cask graalvm/tap/graalvm-ce-java11
|
|
|
|
exportPath=$(echo /Library/Java/JavaVirtualMachines/graalvm-ce-java*/Contents/Home/bin)
|
|
echo "Setting up GRAALVM_11_ROOT variable to ${exportPath}"
|
|
echo "export GRAALVM_11_ROOT=${exportPath}" >> "${HOME}/.bashrc"
|
|
|
|
# Install Native Image
|
|
$exportPath/gu install native-image
|
|
|
|
invoke_tests "Common" "GraalVM" |