Add CI job to verify extrinsic ordering (#1950)

* WIP: add initial check_extrinsics_ordering.sh script

* iterate through runtimes, add gitlab job

* move job to publish

* temp force build-linux-release to run

* update check_extrinsics_ordering.sh

* maybe we have to fetch release

* use node docker image

* revert before opening pr: force bad extrinsic ordering

* revert commits to prepare for PR

* move job to build stage, use bin from test-linux-release

* remove FIXME

* fix PR nags
This commit is contained in:
Martin Pugh
2020-11-16 14:41:57 +01:00
committed by GitHub
parent b1cd13fdc1
commit 0ab81c907f
2 changed files with 72 additions and 0 deletions
+13
View File
@@ -116,6 +116,9 @@ test-linux-stable: &test
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
TARGET: native
artifacts:
paths:
- ./target/release/polkadot
script:
- ./scripts/gitlab/test_linux_stable.sh
- sccache -s
@@ -141,6 +144,16 @@ check-runtime-benchmarks: &test
- ./scripts/gitlab/check_runtime_benchmarks.sh
- sccache -s
check-transaction-versions:
image: node:15
stage: build
needs:
- job: test-linux-stable
before_script:
- npm install -g @polkadot/metadata-cmp
- git fetch origin release
script: "scripts/gitlab/check_extrinsics_ordering.sh"
build-wasm-release:
stage: build
<<: *collect-artifacts