Strip binary artifact when building for release (#1949)

* Strip binary artifact when building for release

* Update rustc toolchain to 1.59 for Ubuntu in CI
This commit is contained in:
apiraino 2022-08-10 23:54:06 +02:00 committed by Vincent Prouillet
parent 584de3adaf
commit b9501de55f
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ members = ["components/*"]
[profile.release]
lto = true
codegen-units = 1
strip = true
[profile.dev]
# Disabling debug info speeds up builds a bunch,

View File

@ -21,7 +21,7 @@ stages:
rustup_toolchain: stable
linux-pinned:
imageName: 'ubuntu-20.04'
rustup_toolchain: 1.57.0
rustup_toolchain: 1.59.0
pool:
vmImage: $(imageName)
steps: