[ci] Add missing components to CI (#1201)

* [ci] Add missing components to CI

* add timestamp

* add pipeline-stopper-artifacts to jobs

* break clippy

* mv definition

* fix clippy

* comment timestamp, rm verbose

* commen cancel

* rm --verbose from build jobs

* disable rusty-cachier before_script

* enable timestamp back

* rollback .gitignore

* rollback .gitignore

* rollback .gitignore
This commit is contained in:
Alexander Samusev
2023-08-28 20:33:16 +02:00
committed by GitHub
parent c168a77e26
commit 6e394f84f8
4 changed files with 161 additions and 63 deletions
+9 -7
View File
@@ -11,6 +11,7 @@ test-linux-stable:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
@@ -32,7 +33,6 @@ test-linux-stable:
--workspace \
--locked \
--release \
--verbose \
--no-fail-fast \
--features runtime-benchmarks,try-runtime,experimental \
--partition count:${CI_NODE_INDEX}/${CI_NODE_TOTAL}
@@ -66,7 +66,6 @@ test-linux-oldkernel-stable:
# --workspace \
# --locked \
# --release \
# --verbose \
# --no-fail-fast \
# --features runtime-benchmarks,try-runtime \
# --partition count:${CI_NODE_INDEX}/${CI_NODE_TOTAL}
@@ -79,6 +78,7 @@ test-linux-stable-additional-tests:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
@@ -91,7 +91,6 @@ test-linux-stable-additional-tests:
--workspace \
--locked \
--release \
--verbose \
--features runtime-benchmarks,try-runtime
allow_failure: true
@@ -104,6 +103,7 @@ test-linux-stable-slow:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
@@ -116,7 +116,6 @@ test-linux-stable-slow:
--workspace \
--locked \
--release \
--verbose \
--features runtime-benchmarks,try-runtime
allow_failure: true
@@ -166,7 +165,7 @@ test-rustdoc:
SKIP_WASM_BUILD: 1
RUSTDOCFLAGS: "-Dwarnings"
script:
- time cargo doc --workspace --all-features --verbose --no-deps
- time cargo doc --workspace --all-features --no-deps
allow_failure: true
cargo-check-all-benches:
@@ -216,6 +215,7 @@ cargo-check-benches:
- .common-refs
- .run-immediately
- .collect-artifacts
- .pipeline-stopper-artifacts
before_script:
# TODO: DON'T FORGET TO CHANGE FOR PROD VALUES!!!
# merges in the master branch on PRs. skip if base is not master
@@ -348,6 +348,7 @@ test-linux-stable-int:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
@@ -370,6 +371,7 @@ check-tracing:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
script:
# with-tracing must be explicitly activated, we run a test to ensure this works as expected in both cases
- time cargo test --locked --manifest-path ./substrate/primitives/tracing/Cargo.toml --no-default-features
@@ -390,9 +392,9 @@ test-full-crypto-feature:
RUST_BACKTRACE: 1
script:
- cd substrate/primitives/core/
- time cargo build --locked --verbose --no-default-features --features full_crypto
- time cargo build --locked --no-default-features --features full_crypto
- cd ../application-crypto
- time cargo build --locked --verbose --no-default-features --features full_crypto
- time cargo build --locked --no-default-features --features full_crypto
cargo-check-each-crate:
stage: test