Skip to content

Commit

Permalink
Add aarch64-apple-darwin target in release workflow
Browse files Browse the repository at this point in the history
This should be broadly useful, but see GitoxideLabs#1478 for specific context.
  • Loading branch information
EliahKagan committed Jul 30, 2024
1 parent 076c262 commit 9da63eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
- x86_64-unknown-linux-musl
- arm-unknown-linux-gnueabihf
- x86_64-apple-darwin
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
- x86_64-pc-windows-gnu
- i686-pc-windows-msvc
Expand All @@ -91,6 +92,9 @@ jobs:
- target: x86_64-apple-darwin
os: macos-latest
rust: stable
- target: aarch64-apple-darwin
os: macos-latest
rust: stable
- target: x86_64-pc-windows-msvc
os: windows-latest
rust: nightly
Expand Down Expand Up @@ -169,8 +173,8 @@ jobs:
run: |
"$CARGO" build --verbose --release "$TARGET_FLAGS" --no-default-features --features ${{ matrix.feature }}
- name: Strip release binary (x86-64 Linux, and macOS)
if: matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'x86_64-apple-darwin'
- name: Strip release binary (x86-64 Linux, and all macOS)
if: matrix.target == 'x86_64-unknown-linux-musl' || matrix.os == 'macos-latest'
run: strip "$TARGET_DIR"/release/{ein,gix}

- name: Strip release binary (ARM Linux)
Expand Down

0 comments on commit 9da63eb

Please sign in to comment.