Skip to content
Snippets Groups Projects
Commit dcee9141 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by Gavin Wood
Browse files

Check polkadot compilation. (#3980)

* Check polkadot compilation.

* Fix git grep.

* Make sure to update properly. Use commit hash instead.
parent 745b68bf
Branches
No related merge requests found
......@@ -338,6 +338,22 @@ check_warnings:
fi
allow_failure: true
check_polkadot:
stage: build
<<: *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
- cd ..
- sccache -s
#### stage: publish
.publish-docker-release: &publish-docker-release
......
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