diff options
author | Owen Valentine <chessmango@users.noreply.github.com> | 2024-01-25 12:23:21 +0200 |
---|---|---|
committer | Owen Valentine <chessmango@users.noreply.github.com> | 2024-01-25 12:23:21 +0200 |
commit | 504ac521afca3f0791d2ac2c02adffb34d1a2e34 (patch) | |
tree | 82135eec46a429e030568b008734a6a512de3076 | |
parent | a88baf1d9494118cca405aa2639656e1d05ba533 (diff) |
Strip arm64 bin
-rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21b863a..d6d6ecf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -171,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" \ + rustembedded/cross:aarch64-musl \ + musl-strip \ + /target/aarch64-unknown-linux-musl/release/${{ env.EXE_NAME }} - name: Build archive shell: bash run: | |