From 202836cb47aa650716b74041ed2a7617004ff9b7 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Sat, 29 Apr 2023 01:34:05 +0200 Subject: [PATCH] CI: Remove crate publish check (#14044) * Fix frame-support feature Signed-off-by: Oliver Tale-Yazdi * Remove publishing script Signed-off-by: Oliver Tale-Yazdi --------- Signed-off-by: Oliver Tale-Yazdi --- substrate/.gitlab-ci.yml | 12 ------------ substrate/frame/support/Cargo.toml | 6 +++++- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/substrate/.gitlab-ci.yml b/substrate/.gitlab-ci.yml index 59d42936e1..100dd0d3d3 100644 --- a/substrate/.gitlab-ci.yml +++ b/substrate/.gitlab-ci.yml @@ -247,18 +247,6 @@ default: #### stage: .pre -check-crates-publishing-pipeline: - stage: .pre - extends: - - .kubernetes-env - - .crates-publishing-pipeline - script: - - git clone - --depth 1 - --branch "$RELENG_SCRIPTS_BRANCH" - https://github.com/paritytech/releng-scripts.git - - ONLY_CHECK_PIPELINE=true ./releng-scripts/publish-crates - # By default our pipelines are interruptible, but some special pipelines shouldn't be interrupted: # * multi-project pipelines such as the ones triggered by the scripts repo # * the scheduled automatic-crate-publishing pipeline diff --git a/substrate/frame/support/Cargo.toml b/substrate/frame/support/Cargo.toml index fe068d9360..d8b1b9c248 100644 --- a/substrate/frame/support/Cargo.toml +++ b/substrate/frame/support/Cargo.toml @@ -70,7 +70,11 @@ std = [ "log/std", "environmental/std", ] -runtime-benchmarks = [] +runtime-benchmarks = [ + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks" +] try-runtime = [] # By default some types have documentation, `no-metadata-docs` allows to reduce the documentation # in the metadata.