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:
AndronikandJavier Viola authored and GitHub committed 2021-12-29 14:10:40 +00:00
1 parent 1394b70d49
commit a44349f652
3 files changed
+19 -9

No files matched your search

+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