Fix Runtime Benchmarks Feature Flag in Parachain Template (#991)

* Update Cargo.toml

* add checks to ci
This commit is contained in:
Shawn Tabrizi
2022-02-16 05:33:08 -07:00
committed by GitHub
parent e7d354ca14
commit eeca2bb61a
2 changed files with 8 additions and 1 deletions
+4
View File
@@ -114,6 +114,8 @@ check-runtime-benchmarks:
script:
# Check that the node will compile with `runtime-benchmarks` feature flag.
- time cargo check --all --features runtime-benchmarks
# Check that parachain-template will compile with `runtime-benchmarks` feature flag.
- time cargo check -p parachain-template-node --features runtime-benchmarks
- sccache -s
cargo-check-try-runtime:
@@ -122,6 +124,8 @@ cargo-check-try-runtime:
script:
# Check that the node will compile with `try-runtime` feature flag.
- time cargo check --all --features try-runtime
# Check that parachain-template will compile with `try-runtime` feature flag.
- time cargo check -p parachain-template-node --features try-runtime
- sccache -s
cargo-check-benches: