diff --git a/.github/actions/setup-licensor/action.yml b/.github/actions/setup-licensor/action.yml index c148f17..a4fc51d 100644 --- a/.github/actions/setup-licensor/action.yml +++ b/.github/actions/setup-licensor/action.yml @@ -28,7 +28,7 @@ runs: macOS-X64) ASSET="licensor-${VERSION}-macos-x86_64.tar.gz" ;; macOS-ARM64) ASSET="licensor-${VERSION}-macos-aarch64.tar.gz" ;; Windows-X64) ASSET="licensor-${VERSION}-windows-x86_64.zip" ;; - Windows-ARM64) ASSET="licensor-${VERSION}-windows-aarch64.zip" ;; + Windows-ARM64) echo "Windows ARM64 native releases are not available from GraalVM 21." >&2; exit 1 ;; *) echo "Unsupported runner: ${{ runner.os }}-${{ runner.arch }}" >&2; exit 1 ;; esac diff --git a/.github/workflows/native-image.yaml b/.github/workflows/native-image.yaml index 2cb1fee..05be1e0 100644 --- a/.github/workflows/native-image.yaml +++ b/.github/workflows/native-image.yaml @@ -7,7 +7,7 @@ on: matrix-json: description: JSON matrix for native-image builds. required: false - default: '{"include":[{"os":"ubuntu-latest","bundle_id":"linux-x86_64","asset_name":"licensor-x86_64-unknown-linux-gnu","native_path":"target/native-image/licensor"},{"os":"ubuntu-24.04-arm","bundle_id":"linux-aarch64","asset_name":"licensor-aarch64-unknown-linux-gnu","native_path":"target/native-image/licensor"},{"os":"macos-15-intel","bundle_id":"macos-x86_64","asset_name":"licensor-x86_64-apple-darwin","native_path":"target/native-image/licensor"},{"os":"macos-latest","bundle_id":"macos-aarch64","asset_name":"licensor-aarch64-apple-darwin","native_path":"target/native-image/licensor"},{"os":"windows-latest","bundle_id":"windows-x86_64","asset_name":"licensor-x86_64-pc-windows.exe","native_path":"target/native-image/licensor.exe","vcvars_arch":"x64"},{"os":"windows-11-arm","bundle_id":"windows-aarch64","asset_name":"licensor-aarch64-pc-windows.exe","native_path":"target/native-image/licensor.exe","vcvars_arch":"arm64"}]}' + default: '{"include":[{"os":"ubuntu-latest","bundle_id":"linux-x86_64","asset_name":"licensor-x86_64-unknown-linux-gnu","native_path":"target/native-image/licensor"},{"os":"ubuntu-24.04-arm","bundle_id":"linux-aarch64","asset_name":"licensor-aarch64-unknown-linux-gnu","native_path":"target/native-image/licensor"},{"os":"macos-15-intel","bundle_id":"macos-x86_64","asset_name":"licensor-x86_64-apple-darwin","native_path":"target/native-image/licensor"},{"os":"macos-latest","bundle_id":"macos-aarch64","asset_name":"licensor-aarch64-apple-darwin","native_path":"target/native-image/licensor"},{"os":"windows-latest","bundle_id":"windows-x86_64","asset_name":"licensor-x86_64-pc-windows.exe","native_path":"target/native-image/licensor.exe","vcvars_arch":"x64"}]}' type: string workflow_dispatch: inputs: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 037779c..8fe341f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,7 +55,6 @@ jobs: | macOS Intel | `licensor-${{ github.ref_name }}-macos-x86_64.tar.gz` | | macOS Apple Silicon | `licensor-${{ github.ref_name }}-macos-aarch64.tar.gz` | | Windows x64 | `licensor-${{ github.ref_name }}-windows-x86_64.zip` | - | Windows arm64 | `licensor-${{ github.ref_name }}-windows-aarch64.zip` | **Linux / macOS:** extract, add the folder to `PATH`, run `licensor --help`. @@ -72,5 +71,4 @@ jobs: dist/licensor-${{ github.ref_name }}-macos-x86_64.tar.gz dist/licensor-${{ github.ref_name }}-macos-aarch64.tar.gz dist/licensor-${{ github.ref_name }}-windows-x86_64.zip - dist/licensor-${{ github.ref_name }}-windows-aarch64.zip dist/SHA256SUMS.txt diff --git a/README.md b/README.md index 2d3386a..3dbcffb 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Tagged releases (`v*.*.*`) publish per-platform archives built in CI: - **Native executable** (`licensor` / `licensor.exe`) for fast cold start - No Java runtime is required to use the native archives -Supported native targets: Linux (x64, arm64), macOS (Intel, Apple Silicon), Windows (x64, arm64). 32-bit Linux is not built. +Supported native targets: Linux (x64, arm64), macOS (Intel, Apple Silicon), and Windows x64. Windows ARM64 is not built because GraalVM 21 is not published for that runner architecture. Local native build requires GraalVM on `JAVA_HOME` or `GRAALVM_HOME`: diff --git a/packaging/bundle-release.sh b/packaging/bundle-release.sh index 579c00d..f7b1c42 100755 --- a/packaging/bundle-release.sh +++ b/packaging/bundle-release.sh @@ -76,7 +76,6 @@ bundle_unix "linux-aarch64" "$STAGING/linux-aarch64" "licensor-aarch64-unknown-l bundle_unix "macos-x86_64" "$STAGING/macos-x86_64" "licensor-x86_64-apple-darwin" bundle_unix "macos-aarch64" "$STAGING/macos-aarch64" "licensor-aarch64-apple-darwin" bundle_windows "windows-x86_64" "$STAGING/windows-x86_64" "licensor-x86_64-pc-windows.exe" -bundle_windows "windows-aarch64" "$STAGING/windows-aarch64" "licensor-aarch64-pc-windows.exe" ( cd "$DIST"