mirror of
https://github.com/imsnif/bandwhich.git
synced 2026-02-09 01:59:18 +08:00
CI: strip release binaries for all targets (#358)
* CI: strip release binaries for all targets - This is now done using `rustc` flags directly * Write changelog
This commit is contained in:
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@@ -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
|
||||
|
||||
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## Changed
|
||||
* CI: strip release binaries for all targets #358 - @cyqsimon
|
||||
|
||||
## [0.22.2] - 2024-01-28
|
||||
|
||||
## Added
|
||||
|
||||
Reference in New Issue
Block a user