Skip to content

Commit 58d8d70

Browse files
committed
git-artifacts: add arm64 support
Thanks to all the arm64-related work we did earlier in various areas, we are now ready to enable arm64 support in git-artifacts! Signed-off-by: Dennis Ameling <[email protected]>
1 parent 35dbd8d commit 58d8d70

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/git-artifacts.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
options:
2323
- x86_64
2424
- i686
25+
- aarch64
2526
bundle_artifacts_workflow_run_id:
2627
description: 'Workflow run ID from bundle-artifacts pipeline'
2728
required: false
@@ -42,7 +43,7 @@ defaults:
4243

4344
jobs:
4445
pkg:
45-
runs-on: windows-latest
46+
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
4647
outputs:
4748
artifact_matrix: ${{steps.artifact-build-matrix.outputs.matrix}}
4849
msystem: ${{steps.configure-environment.outputs.MSYSTEM}}
@@ -65,6 +66,12 @@ jobs:
6566
MINGW_PACKAGE_PREFIX=mingw-w64-i686
6667
SDK_REPO_ARCH=32
6768
;;
69+
aarch64)
70+
MSYSTEM=CLANGARM64
71+
MINGW_PREFIX=/clangarm64
72+
MINGW_PACKAGE_PREFIX=mingw-w64-clang-aarch64
73+
SDK_REPO_ARCH=arm64
74+
;;
6875
*)
6976
echo "Unhandled architecture: $ARCHITECTURE"
7077
exit 1
@@ -194,7 +201,7 @@ jobs:
194201
name: pkg-${{env.ARCHITECTURE}}
195202
path: artifacts
196203
artifacts:
197-
runs-on: windows-latest
204+
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
198205
needs: pkg
199206
env:
200207
MSYSTEM: ${{ needs.pkg.outputs.msystem }}

0 commit comments

Comments
 (0)