mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-02-07 17:00:13 +08:00
Adjust for JDK 20 dev builds.
This commit is contained in:
parent
c8fdb59e88
commit
c85a448ca4
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
@ -25,10 +25,15 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [latest, dev]
|
version: ['latest', 'dev']
|
||||||
java-version: ['19']
|
java-version: ['19', '20']
|
||||||
components: ['native-image']
|
components: ['native-image']
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
|
exclude:
|
||||||
|
- version: 'latest'
|
||||||
|
java-version: '20'
|
||||||
|
- version: 'dev'
|
||||||
|
java-version: '19'
|
||||||
include:
|
include:
|
||||||
- version: '22.2.0' # for update notifications
|
- version: '22.2.0' # for update notifications
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
@ -67,7 +72,7 @@ jobs:
|
|||||||
java --version
|
java --version
|
||||||
java --version | grep "GraalVM CE" || exit 34
|
java --version | grep "GraalVM CE" || exit 34
|
||||||
native-image --version
|
native-image --version
|
||||||
gu remove native-image
|
gu list
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
- name: Check Windows environment
|
- name: Check Windows environment
|
||||||
run: |
|
run: |
|
||||||
@ -114,7 +119,7 @@ jobs:
|
|||||||
java --version
|
java --version
|
||||||
java --version | grep "GraalVM EE" || exit 23
|
java --version | grep "GraalVM EE" || exit 23
|
||||||
native-image --version
|
native-image --version
|
||||||
gu remove native-image
|
gu list
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
- name: Check Windows environment
|
- name: Check Windows environment
|
||||||
run: |
|
run: |
|
||||||
@ -281,4 +286,4 @@ jobs:
|
|||||||
bundle exec rake test
|
bundle exec rake test
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
- name: Remove components
|
- name: Remove components
|
||||||
run: gu remove espresso llvm-toolchain native-image nodejs python R ruby wasm
|
run: gu remove espresso llvm-toolchain nodejs python R ruby wasm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user