Skip to content

Commit c8db689

Browse files
authored
Merge pull request #868 from processing/4.3.1-arm64-fix
4.3.1 arm64 fix
2 parents 6c8b064 + 1bd0adf commit c8db689

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
permissions:
5656
contents: write
5757
strategy:
58+
fail-fast: false
5859
matrix:
5960
include:
6061
# compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
@@ -102,7 +103,7 @@ jobs:
102103
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
103104
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
104105
- name: Build Release
105-
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}"
106+
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}" -Dplatform=${{ matrix.os_prefix }}
106107
env:
107108
PROCESSING_APP_PASSWORD: ${{ secrets.PROCESSING_APP_PASSWORD }}
108109
PROCESSING_APPLE_ID: ${{ secrets.PROCESSING_APPLE_ID }}

build/build.xml

+17-8
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,30 @@
99
</classpath>
1010
</taskdef>
1111

12-
<!-- Sets properties for macos/windows/linux depending on current system -->
12+
<!-- Only do OS detection if platform isn't already set by override -->
1313
<condition property="platform" value="macos">
14-
<os family="mac" />
14+
<and>
15+
<not><isset property="platform"/></not>
16+
<os family="mac" />
17+
</and>
1518
</condition>
1619

1720
<condition property="platform" value="windows">
18-
<os family="windows" />
21+
<and>
22+
<not><isset property="platform"/></not>
23+
<os family="windows" />
24+
</and>
1925
</condition>
2026

2127
<condition property="platform" value="linux">
2228
<and>
23-
<os family="unix" />
24-
<not>
25-
<os family="mac" />
26-
</not>
29+
<not><isset property="platform"/></not>
30+
<and>
31+
<os family="unix" />
32+
<not>
33+
<os family="mac" />
34+
</not>
35+
</and>
2736
</and>
2837
</condition>
2938

@@ -114,7 +123,7 @@
114123

115124
<!-- ${platform} ok for Windows/Linux, but 'macos' needs to be 'mac' -->
116125
<condition property="jdk.download.os" value="mac" else="${platform}">
117-
<os family="mac" />
126+
<equals arg1="${platform}" arg2="macos"/>
118127
</condition>
119128

120129
<!-- amd64 or x86_64 use x64, others use os.arch -->

0 commit comments

Comments
 (0)