Skip to content
Snippets Groups Projects
Unverified Commit 5524c116 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[ci] Remove cargo check osx from gitlab (#5752)

PR removes cargo check job that runs on osx runner from gitlab and moves
`cargo-check-each-crate-macos` job to be required

cc https://github.com/paritytech/ci_cd/issues/1037
parent c0d5c4d8
No related merge requests found
Pipeline #497636 waiting for manual action with stages
in 13 minutes and 6 seconds
......@@ -14,7 +14,6 @@ concurrency:
# Jobs in this workflow depend on each other, only for limiting peak amount of spawned workers
jobs:
preflight:
uses: ./.github/workflows/reusable-preflight.yml
......@@ -321,7 +320,7 @@ jobs:
cargo-check-all-crate-macos:
timeout-minutes: 30
needs: [ preflight ]
needs: [preflight]
runs-on: parity-macos
env:
SKIP_WASM_BUILD: 1
......@@ -366,6 +365,7 @@ jobs:
- check-tracing
- cargo-check-each-crate
- test-deterministic-wasm
- cargo-check-all-crate-macos
# - cargo-hfuzz remove from required for now, as it's flaky
if: always() && !cancelled()
steps:
......
......@@ -21,7 +21,7 @@ workflow:
- if: $CI_COMMIT_BRANCH
variables:
CI_IMAGE: !reference [ .ci-unified, variables, CI_IMAGE ]
CI_IMAGE: !reference [.ci-unified, variables, CI_IMAGE]
# BUILDAH_IMAGE is defined in group variables
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
RELENG_SCRIPTS_BRANCH: "master"
......@@ -39,7 +39,7 @@ default:
- runner_system_failure
- unknown_failure
- api_failure
cache: { }
cache: {}
interruptible: true
.collect-artifacts:
......@@ -68,8 +68,8 @@ default:
.common-before-script:
before_script:
- !reference [ .job-switcher, before_script ]
- !reference [ .pipeline-stopper-vars, script ]
- !reference [.job-switcher, before_script]
- !reference [.pipeline-stopper-vars, script]
.job-switcher:
before_script:
......@@ -78,8 +78,8 @@ default:
.kubernetes-env:
image: "${CI_IMAGE}"
before_script:
- !reference [ .common-before-script, before_script ]
- !reference [ .prepare-env, before_script ]
- !reference [.common-before-script, before_script]
- !reference [.prepare-env, before_script]
tags:
- kubernetes-parity-build
......@@ -107,12 +107,12 @@ default:
.docker-env:
image: "${CI_IMAGE}"
variables:
FL_FORKLIFT_VERSION: !reference [ .forklift, variables, FL_FORKLIFT_VERSION ]
FL_FORKLIFT_VERSION: !reference [.forklift, variables, FL_FORKLIFT_VERSION]
before_script:
- !reference [ .common-before-script, before_script ]
- !reference [ .prepare-env, before_script ]
- !reference [ .rust-info-script, script ]
- !reference [ .forklift-cache, before_script ]
- !reference [.common-before-script, before_script]
- !reference [.prepare-env, before_script]
- !reference [.rust-info-script, script]
- !reference [.forklift-cache, before_script]
tags:
- linux-docker
......@@ -288,8 +288,3 @@ cancel-pipeline-build-short-benchmark:
extends: .cancel-pipeline-template
needs:
- job: build-short-benchmark
cancel-pipeline-cargo-check-each-crate-macos:
extends: .cancel-pipeline-template
needs:
- job: cargo-check-each-crate-macos
\ No newline at end of file
......@@ -153,25 +153,3 @@ quick-benchmarks-omni:
script:
- time cargo build --locked --quiet --release -p asset-hub-westend-runtime --features runtime-benchmarks
- time cargo run --locked --release -p frame-omni-bencher --quiet -- v1 benchmark pallet --runtime target/release/wbuild/asset-hub-westend-runtime/asset_hub_westend_runtime.compact.compressed.wasm --all --steps 2 --repeat 1 --quiet
cargo-check-each-crate-macos:
stage: test
extends:
- .docker-env
- .common-refs
- .run-immediately
# - .collect-artifacts
before_script:
# skip timestamp script, the osx bash doesn't support printf %()T
- !reference [.job-switcher, before_script]
- !reference [.rust-info-script, script]
- !reference [.pipeline-stopper-vars, script]
variables:
SKIP_WASM_BUILD: 1
script:
# TODO: use parallel jobs, as per cargo-check-each-crate, once more Mac runners are available
# - time ./scripts/ci/gitlab/check-each-crate.py 1 1
- time cargo check --workspace --locked
timeout: 2h
tags:
- osx
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment