mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 13:37:57 +00:00
Fix Runtime Benchmarks Feature Flag in Parachain Template (#991)
* Update Cargo.toml * add checks to ci
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -20,7 +20,10 @@ name = "parachain-collator"
|
||||
path = "src/main.rs"
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["parachain-template-runtime/runtime-benchmarks"]
|
||||
runtime-benchmarks = [
|
||||
"parachain-template-runtime/runtime-benchmarks",
|
||||
"polkadot-cli/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = ["parachain-template-runtime/try-runtime"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
Reference in New Issue
Block a user