mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-19 12:25:12 -04:00
github build: don't build arm for windows
Dependencies (javafx and zstd) not available -/-
This commit is contained in:
parent
f46d4420e8
commit
450a9f58f1
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -61,10 +61,12 @@ jobs:
|
|||||||
path: build/libs/minosoft-fat-*-amd64-*.jar
|
path: build/libs/minosoft-fat-*-amd64-*.jar
|
||||||
|
|
||||||
- name: Package aarch64
|
- name: Package aarch64
|
||||||
|
if: ${{ !startsWith(matrix.os, 'windows') }}
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: fatJar -Parchitecture=aarch64
|
arguments: fatJar -Parchitecture=aarch64
|
||||||
- name: Upload aarch64 build
|
- name: Upload aarch64 build
|
||||||
|
if: ${{ !startsWith(matrix.os, 'windows') }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: 'minosoft-${{ matrix.os }}-aarch64'
|
name: 'minosoft-${{ matrix.os }}-aarch64'
|
||||||
|
@ -126,6 +126,12 @@ when (os) {
|
|||||||
zstdNatives += "-x86"
|
zstdNatives += "-x86"
|
||||||
javafxNatives += "-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")
|
else -> throw IllegalArgumentException("Can not determinate windows natives on $architecture")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user