Skip to content

Commit

Permalink
[ci] Add DAG for build-rustdoc and check-dependent-project (paritytec…
Browse files Browse the repository at this point in the history
…h#12687)

* [ci] Debug ci runner

* try gha

* allow mac jobs fail

* add dags

* install protoc

* fix protobuf name

* fix dags

* remove allow fail for mac jobs

* remove gha

* adjust cargo-check-macos
  • Loading branch information
alvicsam authored and ark0f committed Feb 27, 2023
1 parent 1bbb0a2 commit 5e88eb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions scripts/ci/gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

.check-dependent-project:
stage: build
# DAG: this is artificial dependency
needs:
- job: cargo-clippy
artifacts: false
extends:
- .docker-env
- .test-refs-no-trigger-prs-only
Expand Down Expand Up @@ -147,6 +151,10 @@ build-rustdoc:
expire_in: 7 days
paths:
- ./crate-docs/
# DAG: this is artificial dependency
needs:
- job: cargo-clippy
artifacts: false
script:
- rusty-cachier snapshot create
- time cargo +nightly doc --locked --workspace --all-features --verbose --no-deps
Expand Down
4 changes: 3 additions & 1 deletion scripts/ci/gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,10 @@ cargo-check-macos:
extends: .test-refs-no-trigger
before_script:
- !reference [.rust-info-script, script]
variables:
SKIP_WASM_BUILD: 1
script:
- SKIP_WASM_BUILD=1 time cargo check --locked --release
- time cargo check --locked --release
tags:
- osx

Expand Down

0 comments on commit 5e88eb4

Please sign in to comment.