Add binaries for linux-aarch64 (#1484)
Some checks failed
Early Access / Default build (without GraalVM) (push) Has been cancelled
Early Access / Build with GraalVM on macos-latest-arm64 (push) Has been cancelled
Early Access / Build with GraalVM on ubuntu-latest-arm64 (push) Has been cancelled
Early Access / Build with GraalVM on macos-15-intel-x64 (push) Has been cancelled
Early Access / Build with GraalVM on ubuntu-latest-x64 (push) Has been cancelled
Early Access / Build with GraalVM on windows-latest-x64 (push) Has been cancelled
Early Access / Site build (push) Has been cancelled
Stale / stale (push) Has been cancelled

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
Co-authored-by: Per Abich <409466+flyhard@users.noreply.github.com>
Co-authored-by: Per Abich <per.abich@avanza.se>
This commit is contained in:
Guillaume Nodet
2025-11-25 22:31:02 +01:00
committed by GitHub
parent 42eea9e0d7
commit ea7c648707
4 changed files with 40 additions and 18 deletions

View File

@@ -74,13 +74,21 @@ jobs:
include-hidden-files: 'true'
native-build:
name: 'Build with GraalVM on ${{ matrix.os }}'
name: 'Build with GraalVM on ${{ matrix.os }}-${{ matrix.arch }}'
if: startsWith(github.event.head_commit.message, '[release] Release ') != true
strategy:
fail-fast: false
matrix:
# binaries wanted: linux amd64, mac M1, mac intel, windows x86
os: [ ubuntu-latest, macos-latest, macos-13, windows-latest ]
os: [ ubuntu-latest, macos-latest, macos-15-intel, windows-latest ]
arch: [ x64, arm64 ]
exclude:
- os: macos-latest
arch: x64
- os: macos-15-intel
arch: arm64
- os: windows-latest
arch: arm64
runs-on: ${{ matrix.os }}
steps:
@@ -90,7 +98,7 @@ jobs:
- name: 'Set vars'
shell: bash
run: |
ARCH=$(echo '${{ runner.arch }}' | awk '{print tolower($0)}')
ARCH=$(echo '${{ matrix.arch }}' | awk '{print tolower($0)}')
if [[ $ARCH == 'x64' ]]
then
echo "ARCH=amd64" >> $GITHUB_ENV
@@ -172,14 +180,14 @@ jobs:
if: always()
uses: actions/upload-artifact@v5
with:
name: daemon-test-logs-${{ env.OS }}-${{ env.ARCH }}
name: daemon-test-logs-${{ matrix.os }}-${{ env.ARCH }}
path: integration-tests/target/mvnd-tests/**/daemon*.log
include-hidden-files: 'true'
- name: 'Upload artifact'
uses: actions/upload-artifact@v5
with:
name: mvnd-${{ env.OS }}-${{ env.ARCH }}
name: mvnd-${{ matrix.os }}-${{ env.ARCH }}
path: dist/target/maven-mvnd-*.zip
site-build:

View File

@@ -30,12 +30,20 @@ env:
jobs:
build:
name: 'Build with GraalVM on ${{ matrix.os }}'
name: 'Build with GraalVM on ${{ matrix.os }}-${{ matrix.arch }}'
strategy:
fail-fast: true
matrix:
# binaries wanted: linux amd64, mac intel, mac M1, windows x86
os: [ ubuntu-latest, macos-13, macos-14, windows-latest ]
# binaries wanted
os: [ ubuntu-latest, macos-latest, macos-15-intel, windows-latest ]
arch: [ x64, arm64 ]
exclude:
- os: macos-latest
arch: x64
- os: macos-15-intel
arch: arm64
- os: windows-latest
arch: arm64
runs-on: ${{ matrix.os }}
steps:
@@ -45,7 +53,7 @@ jobs:
- name: 'Set vars'
shell: bash
run: |
ARCH=$(echo '${{ runner.arch }}' | awk '{print tolower($0)}')
ARCH=$(echo '${{ matrix.arch }}' | awk '{print tolower($0)}')
if [[ $ARCH == 'x64' ]]
then
echo "ARCH=amd64" >> $GITHUB_ENV
@@ -62,7 +70,7 @@ jobs:
else
echo "OS=$OS" >> $GITHUB_ENV
fi
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout --raw-streams)" >> $GITHUB_ENV
- name: 'Set up GraalVM'
uses: graalvm/setup-graalvm@v1
@@ -193,7 +201,7 @@ jobs:
- name: Set environment
run: |
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout | grep -v '^\[' | tail -1)" >> $GITHUB_ENV
- name: Create Release
id: create_release