Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stages:

variables:
GIT_STRATEGY: fetch
GIT_DEPTH: "3"
GIT_DEPTH: 100
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
CARGO_INCREMENTAL: 0
Expand Down
9 changes: 9 additions & 0 deletions .maintain/gitlab/check_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ github_label () {



git fetch --depth=${GIT_DEPTH:-100} origin master

# check if master is part of this checkout
if ! git log -n 1 origin/master
then
echo "unable to check for runtime changes: checkout does not contain origin/master branch"
exit 3
fi

# check if the wasm sources changed
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q -e '^bin/node/src/runtime' -e '^frame/' -e '^primitives/sr-' | grep -v -e '^primitives/sr-arithmetic/fuzzer'
Expand Down