Strip debug-info on releases
This makes the Linux binaries a lot smaller.
This commit is contained in:
parent
142c554aa3
commit
504ff5da53
|
|
@ -6,6 +6,8 @@ jobs:
|
||||||
build_deb:
|
build_deb:
|
||||||
name: Build .deb package
|
name: Build .deb package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C strip=debuginfo"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@ jobs:
|
||||||
needs: lint_and_test
|
needs: lint_and_test
|
||||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/build-') }}
|
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/build-') }}
|
||||||
name: Build package
|
name: Build package
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: "-C strip=debuginfo"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue