mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
[ci] scripts: don't rebuild for every pallet benchmark (#5126)
* scripts: don't rebuild for every pallet benchmark * ci: remove orphan variable * [ci] run_benches_for_runtime.sh: explicit relative path names * [ci] scripts: handle failing benchmarks
This commit is contained in:
@@ -514,13 +514,12 @@ update_polkadot_weights: &update-weights
|
||||
stage: stage2
|
||||
when: manual
|
||||
variables:
|
||||
PROFILE: production
|
||||
RUNTIME: polkadot
|
||||
artifacts:
|
||||
paths:
|
||||
- ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
|
||||
script:
|
||||
- ./scripts/run_benches_for_runtime.sh $RUNTIME $PROFILE
|
||||
- ./scripts/run_benches_for_runtime.sh $RUNTIME
|
||||
- git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch
|
||||
# uses the "shell" executors
|
||||
tags:
|
||||
@@ -529,13 +528,11 @@ update_polkadot_weights: &update-weights
|
||||
update_kusama_weights:
|
||||
<<: *update-weights
|
||||
variables:
|
||||
PROFILE: production
|
||||
RUNTIME: kusama
|
||||
|
||||
update_westend_weights:
|
||||
<<: *update-weights
|
||||
variables:
|
||||
PROFILE: production
|
||||
RUNTIME: westend
|
||||
|
||||
#### stage: stage3
|
||||
|
||||
Reference in New Issue
Block a user