From a8e8b38f1d56e744d0a24df33787c3a9a02d2427 Mon Sep 17 00:00:00 2001 From: Shawn Date: Fri, 6 Oct 2023 00:51:48 +0800 Subject: [PATCH] [Java] add jdk 21 tests (#977) add jdk 21 tests --- ci/run_ci.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/run_ci.sh b/ci/run_ci.sh index 922bc3e20a..48df823c64 100755 --- a/ci/run_ci.sh +++ b/ci/run_ci.sh @@ -64,7 +64,7 @@ install_bazel() { } JDKS=( -"zulu20.32.11-ca-jdk20.0.2-linux_x64" +"zulu21.28.85-ca-jdk21.0.0-linux_x64" "zulu17.44.17-ca-crac-jdk17.0.8-linux_x64" "zulu15.46.17-ca-jdk15.0.10-linux_x64" "zulu13.54.17-ca-jdk13.0.14-linux_x64" @@ -87,9 +87,14 @@ integration_tests() { cd "$ROOT"/integration_tests/perftests echo "Start latest jdk tests" cd "$ROOT"/integration_tests/latest_jdk_tests + echo "latest_jdk_tests: JDK 17" export JAVA_HOME="$ROOT/zulu17.44.17-ca-crac-jdk17.0.8-linux_x64" export PATH=$JAVA_HOME/bin:$PATH mvn -T10 -B --no-transfer-progress clean test + echo "latest_jdk_tests: JDK 21" + export JAVA_HOME="$ROOT/zulu21.28.85-ca-jdk21.0.0-linux_x64" + export PATH=$JAVA_HOME/bin:$PATH + mvn -T10 -B --no-transfer-progress clean test echo "Start jdk compatibility tests" cd "$ROOT"/integration_tests/jdk_compatibility_tests mvn -T10 -B --no-transfer-progress clean test