Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Check polkadot compilation. #3980

Merged
merged 5 commits into from
Nov 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,22 @@ check_warnings:
fi
allow_failure: true

check_polkadot:
stage: build
bkchr marked this conversation as resolved.
Show resolved Hide resolved
<<: *docker-env
allow_failure: true
dependencies:
- test-linux-stable
script:
- git clone --depth 1 https://github.com/paritytech/polkadot.git
- COMMIT_HASH=$(git rev-parse HEAD)
- cd polkadot
- git grep -l "polkadot-master" | grep toml | xargs sed -i "s/branch.*=.*\"polkadot-master\"/rev = \"$COMMIT_HASH\"/"
- cargo update -p sr-io --precise $COMMIT_HASH
- time cargo check
bkchr marked this conversation as resolved.
Show resolved Hide resolved
- cd ..
- sccache -s

#### stage: publish

.publish-docker-release: &publish-docker-release
Expand Down