Commit c2089885 authored by Martin Pugh's avatar Martin Pugh
Browse files

Update .gitlab-ci.yml

parent 71f65169
Pipeline #122811 failed with stages
in 21 minutes and 42 seconds
......@@ -10,7 +10,6 @@
# which executes the job.
stages:
- test
- build
- publish
- deploy
......@@ -94,91 +93,6 @@ default:
when: never
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
#### stage: test
check-runtime:
stage: test
image: paritytech/tools:latest
<<: *kubernetes-env
<<: *rules-pr-only
variables:
GITLAB_API: "https://gitlab.parity.io/api/v4"
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
script:
- ./scripts/gitlab/check_runtime.sh
allow_failure: true
check-line-width:
stage: test
image: paritytech/tools:latest
<<: *kubernetes-env
<<: *rules-pr-only
script:
- ./scripts/gitlab/check_line_width.sh
allow_failure: true
test-deterministic-wasm:
stage: test
<<: *rules-test
<<: *docker-env
<<: *compiler-info
script:
- ./scripts/gitlab/test_deterministic_wasm.sh
test-linux-stable:
stage: test
<<: *rules-test
<<: *docker-env
<<: *compiler-info
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
# 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
check-web-wasm:
stage: test
<<: *rules-test
<<: *docker-env
<<: *compiler-info
script:
# WASM support is in progress. As more and more crates support WASM, we should
# add entries here. See https://github.com/paritytech/polkadot/issues/625
- ./scripts/gitlab/check_web_wasm.sh
- sccache -s
check-runtime-benchmarks:
stage: test
<<: *rules-test
<<: *docker-env
<<: *compiler-info
script:
# Check that the node will compile with `runtime-benchmarks` feature flag.
- ./scripts/gitlab/check_runtime_benchmarks.sh
- sccache -s
#### stage: build
check-transaction-versions:
image: node:15
stage: build
<<: *rules-test
<<: *docker-env
needs:
- job: test-linux-stable
artifacts: false
before_script:
- npm install --ignore-scripts -g @polkadot/metadata-cmp
- git fetch origin release
script:
- scripts/gitlab/check_extrinsics_ordering.sh
.pack-artifacts: &pack-artifacts
- mkdir -p ./artifacts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment