This commit is contained in:
Guillaume Nodet
2022-04-11 13:44:53 +02:00
parent 96ac5cd60b
commit 1254ad6f71
5 changed files with 50 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ on:
pull_request:
env:
GRAALVM_VERSION: '21.3.0'
GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -35,6 +35,14 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
gu-binary: [gu, gu.cmd]
exclude:
- os: ubuntu-latest
gu-binary: gu.cmd
- os: macos-latest
gu-binary: gu.cmd
- os: windows-latest
gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -52,10 +60,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/setup-graalvm@5.0
with:
version: ${{ env.GRAALVM_VERSION }}
java: java${{ env.JAVA_VERSION }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
graalvm: '${{ env.GRAALVM_VERSION }}'
java: 'java${{ env.JAVA_VERSION }}'
personal-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install native-image component
run: |
${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e

View File

@@ -22,7 +22,7 @@ on:
workflow_dispatch:
env:
GRAALVM_VERSION: '21.3.0'
GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -32,6 +32,14 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
gu-binary: [gu, gu.cmd]
exclude:
- os: ubuntu-latest
gu-binary: gu.cmd
- os: macos-latest
gu-binary: gu.cmd
- os: windows-latest
gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -49,10 +57,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/setup-graalvm@5.0
with:
version: ${{ env.GRAALVM_VERSION }}
java: java${{ env.JAVA_VERSION }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
graalvm: '${{ env.GRAALVM_VERSION }}'
java: 'java${{ env.JAVA_VERSION }}'
personal-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install native-image component
run: |
${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e

View File

@@ -24,7 +24,7 @@ on:
- '!early-access'
env:
GRAALVM_VERSION: '21.3.0'
GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:

View File

@@ -22,7 +22,7 @@ on:
workflow_dispatch:
env:
GRAALVM_VERSION: '21.3.0'
GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -32,6 +32,14 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
gu-binary: [gu, gu.cmd]
exclude:
- os: ubuntu-latest
gu-binary: gu.cmd
- os: macos-latest
gu-binary: gu.cmd
- os: windows-latest
gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -49,10 +57,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/setup-graalvm@5.0
with:
version: ${{ env.GRAALVM_VERSION }}
java: java${{ env.JAVA_VERSION }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
graalvm: '${{ env.GRAALVM_VERSION }}'
java: 'java${{ env.JAVA_VERSION }}'
personal-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install native-image component
run: |
${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e

View File

@@ -48,7 +48,7 @@
<apiguardian-api.version>1.0.0</apiguardian-api.version>
<assertj.version>3.16.1</assertj.version>
<commons-compress.version>1.21</commons-compress.version>
<graalvm.version>21.3.0</graalvm.version>
<graalvm.version>22.0.0.2</graalvm.version>
<graalvm.plugin.version>21.2.0</graalvm.plugin.version>
<groovy.version>3.0.9</groovy.version>
<jakarta.inject.version>1.0</jakarta.inject.version>