github build: don't build arm for windows

Dependencies (javafx and zstd) not available -/-
This commit is contained in:
Bixilon 2023-09-19 22:58:39 +02:00
parent f46d4420e8
commit 450a9f58f1
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
2 changed files with 8 additions and 0 deletions

View File

@ -61,10 +61,12 @@ jobs:
path: build/libs/minosoft-fat-*-amd64-*.jar
- name: Package aarch64
if: ${{ !startsWith(matrix.os, 'windows') }}
uses: gradle/gradle-build-action@v2
with:
arguments: fatJar -Parchitecture=aarch64
- name: Upload aarch64 build
if: ${{ !startsWith(matrix.os, 'windows') }}
uses: actions/upload-artifact@v3
with:
name: 'minosoft-${{ matrix.os }}-aarch64'

View File

@ -126,6 +126,12 @@ when (os) {
zstdNatives += "-x86"
javafxNatives += "-x86"
}
/*
Architectures.ARM -> {
lwjglNatives += "-arm64"
zstdNatives += "-amd64" // TODO: Windows on arm is not yet supported: https://github.com/luben/zstd-jni/issues/277
}
*/
else -> throw IllegalArgumentException("Can not determinate windows natives on $architecture")
}