mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +00:00
Check that try-runtime compiles in CI (#4736)
It also moves some simple scripts directly into the .gitlab.yaml file.
This commit is contained in:
+15
-3
@@ -230,8 +230,19 @@ check-runtime-benchmarks:
|
||||
<<: *compiler-info
|
||||
<<: *vault-secrets
|
||||
script:
|
||||
# Check that the node will compile with `runtime-benchmarks` feature flag.
|
||||
- ./scripts/gitlab/check_runtime_benchmarks.sh
|
||||
# Check that everything compiles with `runtime-benchmarks` feature flag.
|
||||
- cargo check --features runtime-benchmarks --all
|
||||
- sccache -s
|
||||
|
||||
check-try-runtime:
|
||||
stage: test
|
||||
<<: *test-refs
|
||||
<<: *docker-env
|
||||
<<: *compiler-info
|
||||
<<: *vault-secrets
|
||||
script:
|
||||
# Check that everything compiles with `try-runtime` feature flag.
|
||||
- cargo check --features try-runtime --all
|
||||
- sccache -s
|
||||
|
||||
check-no-default-features:
|
||||
@@ -242,7 +253,8 @@ check-no-default-features:
|
||||
<<: *vault-secrets
|
||||
script:
|
||||
# Check that polkadot-cli will compile no default features.
|
||||
- ./scripts/gitlab/check_no_default_features.sh
|
||||
- pushd node/service && cargo check --no-default-features && popd
|
||||
- pushd cli && cargo check --no-default-features --features "service" && popd
|
||||
- sccache -s
|
||||
|
||||
spellcheck:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
pushd node/service && cargo check --no-default-features && popd
|
||||
pushd cli && cargo check --no-default-features --features "service" && popd
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#shellcheck source=../common/lib.sh
|
||||
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/../common/lib.sh"
|
||||
|
||||
time cargo check --features runtime-benchmarks
|
||||
Reference in New Issue
Block a user