File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -184,15 +184,18 @@ integration-cloud-staging|integration-cloud-staging-directpath-enabled)
184184 ;;
185185graalvm)
186186 # Run Unit and Integration Tests with Native Image
187- set -e
188- microdnf install zip
189- curl -s " https://get.sdkman.io" | bash -e
190- source " /root/.sdkman/bin/sdkman-init.sh"
191- set -x
192- sdk install java 25-graalce -Y
193- sdk install maven 3.9.11 -Y
187+ echo " Install GraalVM 25"
188+ echo " $JAVA_HOME "
189+ pwd
190+ mkdir -p ~ /tools/jdk
191+ cd ~ /tools/jdk
192+ wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
193+ tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
194+ export JAVA_HOME=~ /tools/jdk/graalvm-jdk-25+37.1
195+ export PATH=$JAVA_HOME /bin:$PATH
194196 java -version
195- mvn -version
197+ echo " Running native image tests..."
198+ cd " ${scriptDir} /.."
196199
197200 mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests
198201 RETURN_CODE=$?
You can’t perform that action at this time.
0 commit comments