mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
fc8d1765ef
* [WIP][ci] Split gitlab-ci config to separate files * add stage * move short benches * rename stage short_benchmark * include short-benchmarks * add check * add test stage * quickfix check-no-default-features * add build stage * add weights and publish * rename stage * rename stage * fix publish miner image * fix publish miner image * add dag * fix image * start build-short-benchmark with the pipeline * some more DAGs * empty line to short-benchmarks * add change from master Co-authored-by: parity-processbot <>
75 lines
2.3 KiB
YAML
75 lines
2.3 KiB
YAML
# This file is part of .gitlab-ci.yml
|
|
# Here are all jobs that are executed during "test" stage
|
|
|
|
test-linux-stable:
|
|
stage: test
|
|
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
|
|
# the job can be found in check.yml
|
|
needs:
|
|
- job: job-starter
|
|
artifacts: false
|
|
extends:
|
|
- .docker-env
|
|
- .common-refs
|
|
- .pipeline-stopper-artifacts
|
|
before_script:
|
|
- rustup show
|
|
- cargo --version
|
|
- !reference [.pipeline-stopper-vars, before_script]
|
|
variables:
|
|
RUST_TOOLCHAIN: stable
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
|
script:
|
|
- time cargo test --workspace --profile testnet --verbose --locked --features=runtime-benchmarks,runtime-metrics
|
|
|
|
.check-dependent-project: &check-dependent-project
|
|
stage: test
|
|
extends:
|
|
- .docker-env
|
|
- .test-pr-refs
|
|
script:
|
|
- git clone
|
|
--depth=1
|
|
"--branch=$PIPELINE_SCRIPTS_TAG"
|
|
https://github.com/paritytech/pipeline-scripts
|
|
- ./pipeline-scripts/check_dependent_project.sh
|
|
--org paritytech
|
|
--dependent-repo "$DEPENDENT_REPO"
|
|
--github-api-token "$GITHUB_PR_TOKEN"
|
|
--extra-dependencies "$EXTRA_DEPENDENCIES"
|
|
--companion-overrides "$COMPANION_OVERRIDES"
|
|
|
|
check-dependent-cumulus:
|
|
<<: *check-dependent-project
|
|
variables:
|
|
DEPENDENT_REPO: cumulus
|
|
EXTRA_DEPENDENCIES: substrate
|
|
COMPANION_OVERRIDES: |
|
|
polkadot: release-v*
|
|
cumulus: polkadot-v*
|
|
|
|
test-node-metrics:
|
|
stage: test
|
|
extends:
|
|
- .docker-env
|
|
- .test-refs
|
|
- .compiler-info
|
|
variables:
|
|
RUST_TOOLCHAIN: stable
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
|
script:
|
|
- time cargo test --profile testnet --verbose --locked --features=runtime-metrics -p polkadot-node-metrics
|
|
|
|
test-deterministic-wasm:
|
|
stage: test
|
|
extends:
|
|
- .docker-env
|
|
- .test-refs
|
|
- .compiler-info
|
|
script:
|
|
- ./scripts/ci/gitlab/test_deterministic_wasm.sh
|