File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,18 @@ graalvm)
8080 # Run Unit and Integration Tests with Native Image
8181 bash .kokoro/populate-secrets.sh
8282 export GOOGLE_APPLICATION_CREDENTIALS=" ${KOKORO_GFILE_DIR} /secret_manager/java-it-service-account"
83+ echo " Install GraalVM 25"
84+ echo " $JAVA_HOME "
85+ pwd
86+ mkdir -p ~ /tools/jdk
87+ cd ~ /tools/jdk
88+ wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
89+ tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
90+ export JAVA_HOME=~ /tools/jdk/graalvm-jdk-25+37.1
91+ export PATH=$JAVA_HOME /bin:$PATH
92+ java -version
93+ echo " Running native image tests..."
94+ cd " ${scriptDir} /.."
8395 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test -Pslf4j2x test -pl ' oauth2_http'
8496 RETURN_CODE=$?
8597 ;;
You can’t perform that action at this time.
0 commit comments