[ci] Add DAG (#1244)

* [ci] Add DAG

* add dag

* add more dag and disable deny

* test cancel pipeline

* fix clippy
This commit is contained in:
Alexander Samusev
2023-08-29 16:00:17 +02:00
committed by GitHub
parent 7c69d14441
commit b13a3187f2
4 changed files with 47 additions and 11 deletions
+24 -6
View File
@@ -160,7 +160,10 @@ test-rustdoc:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: test-doc
artifacts: false
variables:
SKIP_WASM_BUILD: 1
RUSTDOCFLAGS: "-Dwarnings"
@@ -173,7 +176,10 @@ cargo-check-all-benches:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: cargo-hfuzz
artifacts: false
script:
- time cargo check --all --benches
@@ -202,7 +208,10 @@ test-deterministic-wasm:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: test-frame-support
artifacts: false
script:
- .gitlab/test_deterministic_wasm.sh
@@ -289,7 +298,10 @@ test-frame-support:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: test-frame-examples-compile-to-wasm
artifacts: false
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
@@ -328,7 +340,10 @@ test-frame-examples-compile-to-wasm:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: test-full-crypto-feature
artifacts: false
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
@@ -439,7 +454,10 @@ cargo-hfuzz:
extends:
- .docker-env
- .common-refs
- .run-immediately
# DAG
needs:
- job: check-tracing
artifacts: false
variables:
# max 10s per iteration, 60s per file
HFUZZ_RUN_ARGS: >