mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 18:21:08 +00:00
CI: fix build-subkey-macos build job (#11573)
* CI: fix `build-subkey-macos` build job * CI: use full path for the `CARGO_TARGET_DIR` default value
This commit is contained in:
@@ -52,7 +52,7 @@ build-linux-substrate:
|
|||||||
- .build-refs
|
- .build-refs
|
||||||
variables:
|
variables:
|
||||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||||
CARGO_TARGET_DIR: "./target"
|
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
|
||||||
needs:
|
needs:
|
||||||
- job: test-linux-stable
|
- job: test-linux-stable
|
||||||
artifacts: false
|
artifacts: false
|
||||||
@@ -84,7 +84,7 @@ build-linux-substrate:
|
|||||||
- .build-refs
|
- .build-refs
|
||||||
variables:
|
variables:
|
||||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||||
CARGO_TARGET_DIR: "./target"
|
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
|
||||||
needs:
|
needs:
|
||||||
- job: cargo-check-subkey
|
- job: cargo-check-subkey
|
||||||
artifacts: false
|
artifacts: false
|
||||||
@@ -125,6 +125,7 @@ build-subkey-macos:
|
|||||||
tee ./artifacts/subkey/VERSION;
|
tee ./artifacts/subkey/VERSION;
|
||||||
- sha256sum ./artifacts/subkey/subkey | tee ./artifacts/subkey/subkey.sha256
|
- sha256sum ./artifacts/subkey/subkey | tee ./artifacts/subkey/subkey.sha256
|
||||||
- cp -r ./scripts/ci/docker/subkey.Dockerfile ./artifacts/subkey/
|
- cp -r ./scripts/ci/docker/subkey.Dockerfile ./artifacts/subkey/
|
||||||
|
after_script: [""]
|
||||||
tags:
|
tags:
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
@@ -138,7 +139,7 @@ build-rustdoc:
|
|||||||
DOC_INDEX_PAGE: "sc_service/index.html" # default redirected page
|
DOC_INDEX_PAGE: "sc_service/index.html" # default redirected page
|
||||||
RUSTY_CACHIER_TOOLCHAIN: nightly
|
RUSTY_CACHIER_TOOLCHAIN: nightly
|
||||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||||
CARGO_TARGET_DIR: "./target"
|
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
|
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
|
||||||
when: on_success
|
when: on_success
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ test-deterministic-wasm:
|
|||||||
variables:
|
variables:
|
||||||
WASM_BUILD_NO_COLOR: 1
|
WASM_BUILD_NO_COLOR: 1
|
||||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||||
CARGO_TARGET_DIR: "./target"
|
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
|
||||||
script:
|
script:
|
||||||
- rusty-cachier snapshot create
|
- rusty-cachier snapshot create
|
||||||
# build runtime
|
# build runtime
|
||||||
|
|||||||
Reference in New Issue
Block a user