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 @@ -110,12 +110,18 @@ integration-cloud-staging)
110110 ;;
111111graalvm)
112112 # Run Unit and Integration Tests with Native Image.
113- set -ex
114- microdnf install zip
115- curl -s " https://get.sdkman.io" | bash -e
116- source " /root/.sdkman/bin/sdkman-init.sh"
117- sdk install java 25-graalce -Y
113+ echo " Install GraalVM 25"
114+ echo " $JAVA_HOME "
115+ pwd
116+ mkdir -p ~ /tools/jdk
117+ cd ~ /tools/jdk
118+ wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
119+ tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
120+ export JAVA_HOME=~ /tools/jdk/graalvm-jdk-25+37.1
121+ export PATH=$JAVA_HOME /bin:$PATH
118122 java -version
123+ echo " Running native image tests..."
124+ cd " ${scriptDir} /.."
119125 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test " -Dtest=com.google.cloud.spanner.jdbc.it.**"
120126 RETURN_CODE=$?
121127 ;;
You can’t perform that action at this time.
0 commit comments