Skip to content

Commit c4af0ca

Browse files
committed
ci.yml: Add aarch64 targets for GNU/Linux and Windows
Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent 58f276e commit c4af0ca

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ jobs:
2121
artifact:
2222
- os: ubuntu-latest
2323
name: x86_64-unknown-linux-musl
24+
- os: ubuntu-24.04-arm
25+
name: aarch64-unknown-linux-musl
2426
- os: windows-latest
2527
name: x86_64-pc-windows-gnu
28+
- os: windows-11-arm
29+
name: aarch64-pc-windows-gnullvm
2630
- os: macos-latest
2731
name: universal-apple-darwin
2832
targets:
@@ -51,8 +55,17 @@ jobs:
5155
--git https://github.com/chenxiaolong/cargo-android \
5256
--tag v0.1.3
5357
58+
- name: Install llvm-mingw
59+
if: matrix.artifact.os == 'windows-11-arm'
60+
shell: bash
61+
run: |
62+
version=20251021
63+
curl -fLO "https://github.com/mstorsjo/llvm-mingw/releases/download/${version}/llvm-mingw-${version}-ucrt-aarch64.zip"
64+
7z x "llvm-mingw-${version}-ucrt-aarch64.zip"
65+
echo "$(pwd -W)/llvm-mingw-${version}-ucrt-aarch64/bin" >> "${GITHUB_PATH}"
66+
5467
- name: Install musl-gcc
55-
if: matrix.artifact.os == 'ubuntu-latest'
68+
if: endsWith(matrix.artifact.name, '-musl')
5669
uses: awalsh128/cache-apt-pkgs-action@v1
5770
with:
5871
packages: musl-tools

0 commit comments

Comments
 (0)