Skip to content

Commit 0e5b0ae

Browse files
committed
ci: enable fail-fast and add windows-arm64 build target
1 parent 1189b36 commit 0e5b0ae

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/_build-platform-artifacts.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,45 @@ jobs:
2020
name: Build (${{ matrix.target }})
2121
runs-on: ${{ matrix.os }}
2222
strategy:
23-
fail-fast: false
23+
fail-fast: true
2424
matrix:
2525
include:
2626
- os: ubuntu-24.04
2727
target: linux-x64
2828
gradle_cmd: ./gradlew
2929
jpackage_type: app-image
30+
java_distribution: temurin
31+
java_architecture: x64
3032
- os: ubuntu-24.04-arm
3133
target: linux-arm64
3234
gradle_cmd: ./gradlew
3335
jpackage_type: app-image
36+
java_distribution: temurin
37+
java_architecture: aarch64
3438
- os: windows-2025
3539
target: windows-x64
3640
gradle_cmd: ./gradlew.bat
3741
jpackage_type: exe
42+
java_distribution: temurin
43+
java_architecture: x64
3844
- os: windows-11-arm
3945
target: windows-arm64
4046
gradle_cmd: ./gradlew.bat
4147
jpackage_type: exe
48+
java_distribution: zulu
49+
java_architecture: aarch64
4250
- os: macos-15-intel
4351
target: macos-x64
4452
gradle_cmd: ./gradlew
4553
jpackage_type: dmg
54+
java_distribution: temurin
55+
java_architecture: x64
4656
- os: macos-15
4757
target: macos-arm64
4858
gradle_cmd: ./gradlew
4959
jpackage_type: dmg
60+
java_distribution: temurin
61+
java_architecture: aarch64
5062

5163
steps:
5264
- name: Checkout sources
@@ -60,8 +72,9 @@ jobs:
6072
- name: Set up JDK 25
6173
uses: actions/setup-java@v4
6274
with:
63-
distribution: temurin
75+
distribution: ${{ matrix.java_distribution }}
6476
java-version: "25"
77+
architecture: ${{ matrix.java_architecture }}
6578
cache: gradle
6679

6780
- name: Warn if macOS icon asset is missing

0 commit comments

Comments
 (0)