Skip to content

Commit 85222c2

Browse files
committed
Refine platform test matrix
1 parent e9bcdec commit 85222c2

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/build-common.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,32 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
os:
27-
- macos-latest
28-
- macos-13
2927
- ubuntu-latest
28+
- macos-latest # testing limited to latest Java LTS
29+
- windows-latest # testing limited to latest Java LTS
3030
test-java-version:
3131
- 8
3232
- 11
3333
- 17
3434
- 21
3535
- 25 # renovate(java-version)
36-
# macos-latest drops support for java 8 temurin. Run java 8 on macos-13. Run java 11+ on macos-latest.
3736
exclude:
3837
- os: macos-latest
3938
test-java-version: 8
40-
- os: macos-13
39+
- os: macos-latest
40+
test-java-version: 11
41+
- os: macos-latest
42+
test-java-version: 17
43+
- os: macos-latest
44+
test-java-version: 21
45+
- os: windows-latest
46+
test-java-version: 8
47+
- os: windows-latest
4148
test-java-version: 11
42-
- os: macos-13
49+
- os: windows-latest
4350
test-java-version: 17
44-
- os: macos-13
51+
- os: windows-latest
4552
test-java-version: 21
46-
- os: macos-13
47-
test-java-version: 25 # renovate(java-version)
4853

4954
steps:
5055
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -70,7 +75,7 @@ jobs:
7075
./gradlew
7176
build
7277
-PtestJavaVersion=${{ matrix.test-java-version }}
73-
-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }},${{ steps.setup-java.outputs.path }}
78+
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }},${{ steps.setup-java.outputs.path }}"
7479
env:
7580
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
7681
- name: generate

0 commit comments

Comments
 (0)