Optimizing size of the final executable

This commit is contained in:
VC
2021-04-20 11:38:50 +02:00
parent 09ed837a1b
commit c52fc52d23
2 changed files with 10 additions and 4 deletions

View File

@@ -3,10 +3,9 @@ stages:
rust-latest:
stage: build
artifacts:
- target/release/scootaloo
image: rust:latest
script:
- cargo build --verbose
- cargo build --release --verbose
- strip target/release/${CI_PROJECT_NAME}
- du -h target/release/${CI_PROJECT_NAME}