Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
c837f9d0
Unverified
Commit
c837f9d0
authored
Mar 25, 2020
by
Shawn Tabrizi
Committed by
GitHub
Mar 25, 2020
Browse files
Add CI check for `runtme-benchmarks` (#936)
parent
a2eaf228
Pipeline
#84641
passed with stages
in 18 minutes and 59 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c837f9d0
...
...
@@ -162,6 +162,16 @@ check-web-wasm: &test
-
time cargo build --locked --target=wasm32-unknown-unknown --manifest-path cli/Cargo.toml --no-default-features --features browser
-
sccache -s
check-runtime-benchmarks
:
&test
stage
:
test
<<
:
*test-refs
<<
:
*docker-env
<<
:
*compiler_info
script
:
# Check that the node will compile with `runtime-benchmarks` feature flag.
-
time cargo check --features runtime-benchmarks
-
sccache -s
build-linux-release
:
&build
stage
:
build
...
...
@@ -266,7 +276,7 @@ publish-s3-release:
-
|
cat <<-EOM
|
| polkadot binary paths:
| polkadot binary paths:
|
| - https://${BUCKET}/${PREFIX}/${EXTRATAG}/polkadot
| - https://${BUCKET}/${PREFIX}/${VERSION}/polkadot
...
...
@@ -375,5 +385,3 @@ deploy-polkasync-kusama:
-F "ref=master" \
-F "variables[POLKADOT_BUILD_REF]=${CI_COMMIT_REF_NAME}" \
${GITLAB_API}/projects/${GITHUB_API_PROJECT}/trigger/pipeline | jq .
runtime/common/Cargo.toml
View file @
c837f9d0
...
...
@@ -76,7 +76,7 @@ std = [
"log"
,
]
runtime-benchmarks
=
[
"libsecp256k1"
,
"libsecp256k1
/hmac
"
,
"frame-benchmarking"
,
"frame-support/runtime-benchmarks"
]
runtime/kusama/Cargo.toml
View file @
c837f9d0
...
...
@@ -136,4 +136,9 @@ std = [
"randomness-collective-flip/std"
,
"runtime-common/std"
,
]
runtime-benchmarks
=
[
"frame-benchmarking"
,
"runtime-common/runtime-benchmarks"
]
runtime-benchmarks
=
[
"frame-benchmarking"
,
"frame-support/runtime-benchmarks"
,
"runtime-common/runtime-benchmarks"
,
"elections-phragmen/runtime-benchmarks"
]
runtime/polkadot/Cargo.toml
View file @
c837f9d0
...
...
@@ -130,4 +130,9 @@ std = [
"sudo/std"
,
"vesting/std"
,
]
runtime-benchmarks
=
[
"frame-benchmarking"
,
"runtime-common/runtime-benchmarks"
]
runtime-benchmarks
=
[
"frame-benchmarking"
,
"frame-support/runtime-benchmarks"
,
"runtime-common/runtime-benchmarks"
,
"elections-phragmen/runtime-benchmarks"
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment