mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +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
|
||||
variables:
|
||||
# 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:
|
||||
- job: test-linux-stable
|
||||
artifacts: false
|
||||
@@ -84,7 +84,7 @@ build-linux-substrate:
|
||||
- .build-refs
|
||||
variables:
|
||||
# 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:
|
||||
- job: cargo-check-subkey
|
||||
artifacts: false
|
||||
@@ -125,6 +125,7 @@ build-subkey-macos:
|
||||
tee ./artifacts/subkey/VERSION;
|
||||
- sha256sum ./artifacts/subkey/subkey | tee ./artifacts/subkey/subkey.sha256
|
||||
- cp -r ./scripts/ci/docker/subkey.Dockerfile ./artifacts/subkey/
|
||||
after_script: [""]
|
||||
tags:
|
||||
- osx
|
||||
|
||||
@@ -138,7 +139,7 @@ build-rustdoc:
|
||||
DOC_INDEX_PAGE: "sc_service/index.html" # default redirected page
|
||||
RUSTY_CACHIER_TOOLCHAIN: nightly
|
||||
# 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:
|
||||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
|
||||
when: on_success
|
||||
|
||||
@@ -181,7 +181,7 @@ test-deterministic-wasm:
|
||||
variables:
|
||||
WASM_BUILD_NO_COLOR: 1
|
||||
# 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:
|
||||
- rusty-cachier snapshot create
|
||||
# build runtime
|
||||
|
||||
Reference in New Issue
Block a user