You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+24
Original file line number
Diff line number
Diff line change
@@ -87,3 +87,27 @@ jobs:
87
87
- run: .kokoro/build.sh
88
88
env:
89
89
JOB_TYPE: clirr
90
+
# compilation failure for sub-modules using source and target options 7 (this setting cannot be upgraded to Java 21 because some modules support max of Java 8)
91
+
# Hence compile in Java 8 and test in Java 21.
92
+
units-java21:
93
+
# Building using Java 8 and run the tests with Java 21 runtime
94
+
name: "units (21)"
95
+
runs-on: ubuntu-latest
96
+
steps:
97
+
- uses: actions/checkout@v3
98
+
- uses: actions/setup-java@v3
99
+
with:
100
+
java-version: 21
101
+
distribution: temurin
102
+
- name: "Set jvm system property environment variable for surefire plugin (unit tests)"
103
+
# Maven surefire plugin (unit tests) allows us to specify JVM to run the tests.
0 commit comments