Skip to content

Commit

Permalink
CI: strip release binaries for all targets
Browse files Browse the repository at this point in the history
- This is now done using `rustc` flags directly
  • Loading branch information
cyqsimon committed Jan 29, 2024
1 parent 96a7f77 commit ff0b7f3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ jobs:
run: sudo apt-get install -y --no-install-recommends musl-tools

- name: Build release binary
env:
RUSTFLAGS: "-C strip=symbols"
run: cargo build --verbose --release --target ${{ matrix.target }}

- name: Strip release binary (unix)
if: matrix.os != 'windows-latest'
run: strip "target/${{ matrix.target }}/release/bandwhich"

- name: Tar release (unix)
if: matrix.os != 'windows-latest'
working-directory: ./target/${{ matrix.target }}/release
Expand Down

0 comments on commit ff0b7f3

Please sign in to comment.