mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
0226b55f9f
Add collectives and glutton parachain westend runtimes to prepare for #1737. The removal of system parachain native runtimes #1737 is blocked until chainspecs and runtime APIs can be dealt with cleanly (merge of #1256 and follow up PRs). In the meantime, these additions are ready to be merged to `master`, so I have separated them out into this PR. Also marked `bridge-hub-westend` as unimplemented in line with [this issue](https://github.com/paritytech/parity-bridges-common/issues/2602). TODO - [x] add to `command-bot` benchmarks - [x] add to `command-bot-scripts` benchmarks - [x] generate weights --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Muharem <ismailov.m.h@gmail.com> Co-authored-by: command-bot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
111 lines
3.0 KiB
YAML
111 lines
3.0 KiB
YAML
# This file is part of .gitlab-ci.yml
|
|
# Here are all jobs that are executed during "short-benchmarks" stage
|
|
|
|
# Run all pallet benchmarks only once to check if there are any errors
|
|
|
|
# run short-benchmarks for relay chain runtimes from polkadot
|
|
|
|
short-benchmark-westend: &short-bench
|
|
stage: short-benchmarks
|
|
extends:
|
|
- .docker-env
|
|
- .common-refs
|
|
needs:
|
|
- job: build-short-benchmark
|
|
artifacts: true
|
|
variables:
|
|
RUNTIME: westend
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
RUST_BACKTRACE: "full"
|
|
WASM_BUILD_NO_COLOR: 1
|
|
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
tags:
|
|
- benchmark
|
|
script:
|
|
- ./artifacts/polkadot benchmark pallet --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
|
|
|
# run short-benchmarks for system parachain runtimes from cumulus
|
|
|
|
.short-benchmark-cumulus: &short-bench-cumulus
|
|
stage: short-benchmarks
|
|
extends:
|
|
- .common-refs
|
|
- .docker-env
|
|
needs:
|
|
- job: build-short-benchmark-cumulus
|
|
artifacts: true
|
|
variables:
|
|
RUNTIME_CHAIN: benchmarked-runtime-chain
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
RUST_BACKTRACE: "full"
|
|
WASM_BUILD_NO_COLOR: 1
|
|
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
tags:
|
|
- benchmark
|
|
script:
|
|
- ./artifacts/polkadot-parachain benchmark pallet --chain $RUNTIME_CHAIN --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
|
|
|
short-benchmark-asset-hub-polkadot:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-polkadot-dev
|
|
|
|
short-benchmark-asset-hub-kusama:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-kusama-dev
|
|
|
|
short-benchmark-asset-hub-rococo:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-rococo-dev
|
|
|
|
short-benchmark-asset-hub-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-westend-dev
|
|
|
|
short-benchmark-bridge-hub-polkadot:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-polkadot-dev
|
|
|
|
short-benchmark-bridge-hub-kusama:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-kusama-dev
|
|
|
|
short-benchmark-bridge-hub-rococo:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-rococo-dev
|
|
|
|
short-benchmark-bridge-hub-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-westend-dev
|
|
|
|
short-benchmark-collectives-polkadot:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: collectives-polkadot-dev
|
|
|
|
short-benchmark-collectives-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: collectives-westend-dev
|
|
|
|
short-benchmark-glutton-kusama:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: glutton-kusama-dev-1300
|
|
|
|
short-benchmark-glutton-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: glutton-westend-dev-1300
|