Skip to content

Commit c85a448

Browse files
committed
Adjust for JDK 20 dev builds.
1 parent c8fdb59 commit c85a448

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,15 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626
strategy:
2727
matrix:
28-
version: [latest, dev]
29-
java-version: ['19']
28+
version: ['latest', 'dev']
29+
java-version: ['19', '20']
3030
components: ['native-image']
3131
os: [macos-latest, windows-latest, ubuntu-latest]
32+
exclude:
33+
- version: 'latest'
34+
java-version: '20'
35+
- version: 'dev'
36+
java-version: '19'
3237
include:
3338
- version: '22.2.0' # for update notifications
3439
java-version: '17'
@@ -67,7 +72,7 @@ jobs:
6772
java --version
6873
java --version | grep "GraalVM CE" || exit 34
6974
native-image --version
70-
gu remove native-image
75+
gu list
7176
if: runner.os != 'Windows'
7277
- name: Check Windows environment
7378
run: |
@@ -114,7 +119,7 @@ jobs:
114119
java --version
115120
java --version | grep "GraalVM EE" || exit 23
116121
native-image --version
117-
gu remove native-image
122+
gu list
118123
if: runner.os != 'Windows'
119124
- name: Check Windows environment
120125
run: |
@@ -281,4 +286,4 @@ jobs:
281286
bundle exec rake test
282287
popd > /dev/null
283288
- name: Remove components
284-
run: gu remove espresso llvm-toolchain native-image nodejs python R ruby wasm
289+
run: gu remove espresso llvm-toolchain nodejs python R ruby wasm

0 commit comments

Comments
 (0)