You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Build with "try-runtime" feature, e.g. RUSTFLAGS="-D warnings" cargo build --features try-runtime.
- Build of the node runtime, e.g. RUSTFLAGS="-D warnings" cargo build -p polka-storage-runtime. It is possible to build the runtime with all workspace members together successfully, but it might fail if built separately, so this step is required.
- Build of the node with "runtime-benchmarks" feature, e.g. RUSTFLAGS="-D warnings" cargo build -p polka-storage-node --features runtime-benchmarks. - To catch bugs with benchmarks in Substrate, it is also required to run a simple pass on benchmarks, e.g. ./target/debug/polka-storage-node benchmark pallet --pallet "*" --extrinsic "*" --steps 2 --repeat 1 Moved to separate issue CI benchmarks test #28.
- Build in release mode, e.g. RUSTFLAGS="-D warnings" cargo build --release.
- Formatting check, e.g. cargo fmt --all -- --check.
- Clippy check, e.g. cargo clippy -- -D warnings.
- Tests check, e.g. RUSTFLAGS="-D warnings" cargo test --workspace.
Important
The sequence of running steps is important.
The text was updated successfully, but these errors were encountered:
In the scope of this task, a GitHub workflow should be defined with steps covering basic needs such as building, formatting, clippy, and test checks.
Added steps with:
taplo lint && taplo fmt --check
.RUSTFLAGS="-D warnings" cargo build --features try-runtime
.RUSTFLAGS="-D warnings" cargo build -p polka-storage-runtime
. It is possible to build the runtime with all workspace members together successfully, but it might fail if built separately, so this step is required.RUSTFLAGS="-D warnings" cargo build -p polka-storage-node --features runtime-benchmarks
.- To catch bugs with benchmarks in Substrate, it is also required to run a simple pass on benchmarks, e.g.Moved to separate issue CI benchmarks test #28../target/debug/polka-storage-node benchmark pallet --pallet "*" --extrinsic "*" --steps 2 --repeat 1
RUSTFLAGS="-D warnings" cargo build --release
.cargo fmt --all -- --check
.cargo clippy -- -D warnings
.RUSTFLAGS="-D warnings" cargo test --workspace
.Important
The sequence of running steps is important.
The text was updated successfully, but these errors were encountered: