Skip to content

Commit 9da63eb

Browse files
committed
Add aarch64-apple-darwin target in release workflow
This should be broadly useful, but see GitoxideLabs#1478 for specific context.
1 parent 076c262 commit 9da63eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
- x86_64-unknown-linux-musl
7474
- arm-unknown-linux-gnueabihf
7575
- x86_64-apple-darwin
76+
- aarch64-apple-darwin
7677
- x86_64-pc-windows-msvc
7778
- x86_64-pc-windows-gnu
7879
- i686-pc-windows-msvc
@@ -91,6 +92,9 @@ jobs:
9192
- target: x86_64-apple-darwin
9293
os: macos-latest
9394
rust: stable
95+
- target: aarch64-apple-darwin
96+
os: macos-latest
97+
rust: stable
9498
- target: x86_64-pc-windows-msvc
9599
os: windows-latest
96100
rust: nightly
@@ -169,8 +173,8 @@ jobs:
169173
run: |
170174
"$CARGO" build --verbose --release "$TARGET_FLAGS" --no-default-features --features ${{ matrix.feature }}
171175
172-
- name: Strip release binary (x86-64 Linux, and macOS)
173-
if: matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'x86_64-apple-darwin'
176+
- name: Strip release binary (x86-64 Linux, and all macOS)
177+
if: matrix.target == 'x86_64-unknown-linux-musl' || matrix.os == 'macos-latest'
174178
run: strip "$TARGET_DIR"/release/{ein,gix}
175179

176180
- name: Strip release binary (ARM Linux)

0 commit comments

Comments
 (0)