Skip to content

Commit

Permalink
Fix artifact building
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Horn committed Sep 30, 2023
1 parent 79d5c76 commit eea73a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- build: aarch64-linux
os: ubuntu-20.04
rust: stable
target: aarch64-unknown-linux-gnu
target: aarch64-unknown-linux-musl
cross: true

steps:
Expand Down Expand Up @@ -52,14 +52,14 @@ jobs:
command: build
args: --release --locked --target ${{ matrix.target }}

- name: Strip release binary (arm)
if: matrix.build == 'aarch64-linux'
run: |
docker run --rm -v \
"$PWD/target:/target:Z" \
rustembedded/cross:${{ matrix.target }} \
aarch64-linux-gnu-strip \
/target/${{ matrix.target }}/release/$BIN_NAME
# - name: Strip release binary (arm)
# if: matrix.build == 'aarch64-linux'
# run: |
# docker run --rm -v \
# "$PWD/target:/target:Z" \
# rustembedded/cross:${{ matrix.target }} \
# aarch64-linux-gnu-strip \
# /target/${{ matrix.target }}/release/$BIN_NAME

- name: Build archive
shell: bash
Expand Down

0 comments on commit eea73a9

Please sign in to comment.