Commit 8bcf3813 authored by Denis_P's avatar Denis_P 👙 Committed by Hero Bird

CARGO_TARGET_DIR test (#240)

* CARGO_TARGET_DIR test

* debug

* debug 2

* now INCREMENTAL will help

* fresh run

* test doesn't want a wasm friend

* trim trailing whitespaces

* check branch named dir and data-races there

* data-races are trouble even here, have to divide concurrent jobs, will take more space

* experiment with `need``

* some trash cycles

* check out the trigger

* typo

* there's no master yet lol

* exact PR/branch number since it's not in master yet

* branch shoulkd be a string

* branch should have a right name silly

* cleanup, check if error from the triggered pipeline returns as a status to the initial pipeline

* more vars to pass

* trigger the pipeline

* trigger the pipeline2

* trigger the pipeline3

* trigger the pipeline4

* trigger the pipeline5

* suppress global var

* target dir caching is ready to be merged
parent 461da2aa
Pipeline #72616 passed with stages
in 6 minutes and 32 seconds
......@@ -14,7 +14,7 @@ variables:
GIT_STRATEGY: fetch
GIT_DEPTH: "3"
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
CARGO_INCREMENTAL: 0
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
CI_SERVER_NAME: "GitLab CI"
REGISTRY: registry.parity.io/parity/infrastructure/scripts
ALL_CRATES: "core alloc prelude utils lang2 lang2/macro"
......@@ -35,6 +35,7 @@ variables:
- rustup show
- bash --version
- mkdir -p ${CARGO_HOME}; touch ${CARGO_HOME}/config
- mkdir -p ${CARGO_TARGET_DIR}
# global RUSTFLAGS overrides the linker args so this way is better to pass the flags
- printf '[build]\nrustflags = ["-C", "link-dead-code"]\n' | tee ${CARGO_HOME}/config
- sccache -s
......
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