Skip to content

Commit 34ca76b

Browse files
authored
test: upgrade graalvm to 25
1 parent c0af9bb commit 34ca76b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.kokoro/build.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,18 @@ integration)
7171
;;
7272
graalvm)
7373
# Run Unit and Integration Tests with Native Image
74-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
74+
echo "Install GraalVM 25"
75+
echo "$JAVA_HOME"
76+
pwd
77+
mkdir -p ~/tools/jdk
78+
cd ~/tools/jdk
79+
wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
80+
tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
81+
export JAVA_HOME=~/tools/jdk/graalvm-jdk-25+37.1
82+
export PATH=$JAVA_HOME/bin:$PATH
83+
java -version
84+
echo "Running native image tests..."
85+
cd "${scriptDir}/.." mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative,native-tests,native-deps test -pl '!google-http-client-appengine'
7586
RETURN_CODE=$?
7687
;;
7788
samples)

0 commit comments

Comments
 (0)