ci: add lto and strip to weekly build (#841)

This commit is contained in:
Ning Sun
2023-01-06 16:20:23 +08:00
committed by GitHub
parent 627d444723
commit 5b675f54a8
3 changed files with 13 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ jobs:
run: protoc --version ; cargo version ; rustc --version ; gcc --version ; g++ --version
- name: Run cargo build
run: cargo build ${{ matrix.opts }} --release --locked --target ${{ matrix.arch }}
run: cargo build ${{ matrix.opts }} --profile weekly --locked --target ${{ matrix.arch }}
- name: Calculate checksum and rename binary
shell: bash