Fix benchmarks and ensure CI tests them (#854)

* Fix benchmarks and ensure CI tests them

* FMT
This commit is contained in:
Bastian Köcher
2021-12-12 23:17:15 +01:00
committed by GitHub
parent 308cb3e76b
commit f175a25793
2 changed files with 15 additions and 6 deletions
+9 -2
View File
@@ -112,7 +112,7 @@ check-runtime-benchmarks:
<<: *docker-env
script:
# Check that the node will compile with `runtime-benchmarks` feature flag.
- time cargo check --features runtime-benchmarks
- time cargo check --all --features runtime-benchmarks
- sccache -s
cargo-check-try-runtime:
@@ -120,7 +120,14 @@ cargo-check-try-runtime:
<<: *docker-env
script:
# Check that the node will compile with `try-runtime` feature flag.
- time cargo check --features try-runtime
- time cargo check --all --features try-runtime
- sccache -s
cargo-check-benches:
stage: test
<<: *docker-env
script:
- time cargo check --all --benches
- sccache -s
#### stage: publish