File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,18 @@ integration)
7272 ;;
7373graalvm)
7474 # Run Unit and Integration Tests with Native Image
75- set -ex
76- microdnf install zip
77- curl -s " https://get.sdkman.io" | bash -e
78- source " /root/.sdkman/bin/sdkman-init.sh"
79- sdk install java 25-graalce -Y
75+ echo " Install GraalVM 25"
76+ echo " $JAVA_HOME "
77+ pwd
78+ mkdir -p ~ /tools/jdk
79+ cd ~ /tools/jdk
80+ wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
81+ tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
82+ export JAVA_HOME=~ /tools/jdk/graalvm-jdk-25+37.1
83+ export PATH=$JAVA_HOME /bin:$PATH
8084 java -version
85+ echo " Running native image tests..."
86+ cd " ${scriptDir} /.."
8187 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
8288 RETURN_CODE=$?
8389 ;;
You can’t perform that action at this time.
0 commit comments