Skip to content

Commit

Permalink
Merge pull request #229 from chessmango-forks/main
Browse files Browse the repository at this point in the history
feat: arm64 builds
  • Loading branch information
Byron committed Jan 26, 2024
2 parents 984fd97 + f5ec49f commit 5052da9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -76,7 +76,7 @@ jobs:
EXE_NAME: dua
strategy:
matrix:
build: [linux, linux-arm, macos, win-msvc, win32-msvc]
build: [linux, linux-arm, linux-arm64, macos, win-msvc, win32-msvc]
include:
- build: linux
os: ubuntu-latest
Expand All @@ -86,6 +86,10 @@ jobs:
os: ubuntu-latest
rust: nightly
target: arm-unknown-linux-gnueabihf
- build: linux-arm64
os: ubuntu-latest
rust: stable
target: aarch64-unknown-linux-musl
- build: macos
os: macos-latest
rust: stable
Expand Down Expand Up @@ -167,6 +171,14 @@ jobs:
rustembedded/cross:arm-unknown-linux-gnueabihf \
arm-linux-gnueabihf-strip \
/target/arm-unknown-linux-gnueabihf/release/${{ env.EXE_NAME }}
- name: Strip release binary (arm64)
if: matrix.build == 'linux-arm64'
run: |
docker run --rm -v \
"$PWD/target:/target:Z" \
messense/rust-musl-cross:aarch64-musl \
musl-strip \
/target/aarch64-unknown-linux-musl/release/${{ env.EXE_NAME }}
- name: Build archive
shell: bash
run: |
Expand Down

0 comments on commit 5052da9

Please sign in to comment.