mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-12 05:59:33 +00:00
Fix CI
This commit is contained in:
21
.github/workflows/early-access.yaml
vendored
21
.github/workflows/early-access.yaml
vendored
@@ -24,7 +24,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRAALVM_VERSION: '21.3.0'
|
GRAALVM_VERSION: '22.0.0.2'
|
||||||
JAVA_VERSION: '17'
|
JAVA_VERSION: '17'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -35,6 +35,14 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -52,10 +60,13 @@ jobs:
|
|||||||
- name: 'Set up Graal'
|
- name: 'Set up Graal'
|
||||||
uses: DeLaGuardo/setup-graalvm@5.0
|
uses: DeLaGuardo/setup-graalvm@5.0
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GRAALVM_VERSION }}
|
graalvm: '${{ env.GRAALVM_VERSION }}'
|
||||||
java: java${{ env.JAVA_VERSION }}
|
java: 'java${{ env.JAVA_VERSION }}'
|
||||||
components: 'native-image'
|
personal-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
- name: Install native-image component
|
||||||
|
run: |
|
||||||
|
${{ matrix.gu-binary }} install native-image
|
||||||
|
|
||||||
- name: 'Build native distribution'
|
- name: 'Build native distribution'
|
||||||
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
||||||
|
21
.github/workflows/release-candidate-stage1.yml
vendored
21
.github/workflows/release-candidate-stage1.yml
vendored
@@ -22,7 +22,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRAALVM_VERSION: '21.3.0'
|
GRAALVM_VERSION: '22.0.0.2'
|
||||||
JAVA_VERSION: '17'
|
JAVA_VERSION: '17'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -32,6 +32,14 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -49,10 +57,13 @@ jobs:
|
|||||||
- name: 'Set up Graal'
|
- name: 'Set up Graal'
|
||||||
uses: DeLaGuardo/setup-graalvm@5.0
|
uses: DeLaGuardo/setup-graalvm@5.0
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GRAALVM_VERSION }}
|
graalvm: '${{ env.GRAALVM_VERSION }}'
|
||||||
java: java${{ env.JAVA_VERSION }}
|
java: 'java${{ env.JAVA_VERSION }}'
|
||||||
components: 'native-image'
|
personal-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
- name: Install native-image component
|
||||||
|
run: |
|
||||||
|
${{ matrix.gu-binary }} install native-image
|
||||||
|
|
||||||
- name: 'Build native distribution'
|
- name: 'Build native distribution'
|
||||||
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
||||||
|
@@ -24,7 +24,7 @@ on:
|
|||||||
- '!early-access'
|
- '!early-access'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRAALVM_VERSION: '21.3.0'
|
GRAALVM_VERSION: '22.0.0.2'
|
||||||
JAVA_VERSION: '17'
|
JAVA_VERSION: '17'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
21
.github/workflows/release.yaml
vendored
21
.github/workflows/release.yaml
vendored
@@ -22,7 +22,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRAALVM_VERSION: '21.3.0'
|
GRAALVM_VERSION: '22.0.0.2'
|
||||||
JAVA_VERSION: '17'
|
JAVA_VERSION: '17'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -32,6 +32,14 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -49,10 +57,13 @@ jobs:
|
|||||||
- name: 'Set up Graal'
|
- name: 'Set up Graal'
|
||||||
uses: DeLaGuardo/setup-graalvm@5.0
|
uses: DeLaGuardo/setup-graalvm@5.0
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GRAALVM_VERSION }}
|
graalvm: '${{ env.GRAALVM_VERSION }}'
|
||||||
java: java${{ env.JAVA_VERSION }}
|
java: 'java${{ env.JAVA_VERSION }}'
|
||||||
components: 'native-image'
|
personal-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
- name: Install native-image component
|
||||||
|
run: |
|
||||||
|
${{ matrix.gu-binary }} install native-image
|
||||||
|
|
||||||
- name: 'Build native distribution'
|
- name: 'Build native distribution'
|
||||||
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
|
||||||
|
2
pom.xml
2
pom.xml
@@ -48,7 +48,7 @@
|
|||||||
<apiguardian-api.version>1.0.0</apiguardian-api.version>
|
<apiguardian-api.version>1.0.0</apiguardian-api.version>
|
||||||
<assertj.version>3.16.1</assertj.version>
|
<assertj.version>3.16.1</assertj.version>
|
||||||
<commons-compress.version>1.21</commons-compress.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>
|
<graalvm.plugin.version>21.2.0</graalvm.plugin.version>
|
||||||
<groovy.version>3.0.9</groovy.version>
|
<groovy.version>3.0.9</groovy.version>
|
||||||
<jakarta.inject.version>1.0</jakarta.inject.version>
|
<jakarta.inject.version>1.0</jakarta.inject.version>
|
||||||
|
Reference in New Issue
Block a user