Skip to content

Commit 2ff0e6a

Browse files
committed
test: upgrade testing to graalvm 25
1 parent 6e99826 commit 2ff0e6a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.kokoro/build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,18 @@ integration)
8787
RETURN_CODE=$?
8888
;;
8989
graalvm)
90+
echo "Install GraalVM 25"
91+
echo "$JAVA_HOME"
92+
pwd
93+
mkdir -p ~/tools/jdk
94+
cd ~/tools/jdk
95+
wget https://download.oracle.com/graalvm/25/latest/graalvm-jdk-25_linux-x64_bin.tar.gz
96+
tar -xf graalvm-jdk-25_linux-x64_bin.tar.gz
97+
export JAVA_HOME=~/tools/jdk/graalvm-jdk-25+37.1
98+
export PATH=$JAVA_HOME/bin:$PATH
99+
java -version
100+
echo "Running native image tests..."
101+
cd "${scriptDir}/.."
90102
# Run Unit and Integration Tests with Native Image
91103
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test -Dfmt.skip=true
92104
RETURN_CODE=$?

0 commit comments

Comments
 (0)