Skip to content

Commit 5a92779

Browse files
committed
Also target ARM64
1 parent 1737632 commit 5a92779

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/zig.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
config:
18+
- host: windows-11-arm
19+
target_arch: aarch64
20+
target_system: Windows
21+
- host: ubuntu-24.04-arm
22+
target_arch: aarch64
23+
target_system: Linux
1824
- host: windows-latest
1925
target_arch: x86_64
2026
target_system: Windows
@@ -30,7 +36,7 @@ jobs:
3036
- name: Checkout
3137
uses: actions/checkout@v4
3238
- name: Install ninja-build tool
33-
uses: seanmiddleditch/gha-setup-ninja@v4
39+
uses: seanmiddleditch/gha-setup-ninja@v6
3440
- uses: actions/setup-python@v5
3541
with:
3642
python-version: '3.13'
@@ -42,15 +48,15 @@ jobs:
4248
with:
4349
zig-version: 0.15.1
4450
- name: Locate zig not on Windows
45-
if: matrix.os.name != 'windows-latest'
51+
if: matrix.config.target_system != 'Windows'
4652
shell: bash
4753
run: |
4854
echo "CFLAGS=${CFLAGS} -fno-sanitize=all"
4955
echo "CXXFLAGS=${CXXFLAGS} -fno-sanitize=all"
5056
echo "ZIGCC=${PWD}/util/zig-cc" >> $GITHUB_ENV
5157
echo "ZIGCXX=${PWD}/util/zig-c++" >> $GITHUB_ENV
5258
- name: Locate zig on Windows
53-
if: matrix.config.host == 'windows-latest'
59+
if: matrix.config.target_system == 'Windows'
5460
shell: bash
5561
run: |
5662
ZIGCC="python3 $(cygpath -m $(which zigcc))"

0 commit comments

Comments
 (0)