Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-licensor/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down
1 change: 0 additions & 1 deletion packaging/bundle-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading