custom cargo profiles for production (#4627)

* add custom profiles and specify MSVR as 1.57

* fix host-perf-check command

* use testnet profile for CI images

* do not do lto for testnet profile

* fix artifact path

* test with testnet profile to reuse build artifacts

* Revert "fix host-perf-check command"

This reverts commit f1d15492204b8251685a97636cbb5a5f394f21da.

* bump zombienet version

Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
Andronik
2021-12-29 15:10:40 +01:00
committed by GitHub
parent 1394b70d49
commit a44349f652
3 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ set -eux
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/../common/lib.sh"
# Builds with the runtime benchmarks/metrics features are only to be used for testing.
time cargo test --workspace --release --verbose --locked --features=runtime-benchmarks,runtime-metrics
time cargo test --workspace --profile testnet --verbose --locked --features=runtime-benchmarks,runtime-metrics