ci: use cargo home instead of cargo target dir
This commit is contained in:
parent
91d732f23c
commit
a125169932
@ -9,7 +9,6 @@ image: parity/rust:gitlab-ci
|
|||||||
variables:
|
variables:
|
||||||
CI_SERVER_NAME: "GitLab CI"
|
CI_SERVER_NAME: "GitLab CI"
|
||||||
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
|
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
|
||||||
CARGO_TARGET_DIR: "${CI_PROJECT_DIR}/.cargo"
|
|
||||||
BUILD_TARGET: ubuntu
|
BUILD_TARGET: ubuntu
|
||||||
BUILD_ARCH: amd64
|
BUILD_ARCH: amd64
|
||||||
CARGO_TARGET: x86_64-unknown-linux-gnu
|
CARGO_TARGET: x86_64-unknown-linux-gnu
|
||||||
|
@ -6,7 +6,6 @@ set -u # treat unset variables as error
|
|||||||
echo "__________Show ENVIROMENT__________"
|
echo "__________Show ENVIROMENT__________"
|
||||||
echo "CI_SERVER_NAME: " $CI_SERVER_NAME
|
echo "CI_SERVER_NAME: " $CI_SERVER_NAME
|
||||||
echo "CARGO_HOME: " $CARGO_HOME
|
echo "CARGO_HOME: " $CARGO_HOME
|
||||||
echo "CARGO_TARGET_DIR: " $CARGO_TARGET_DIR
|
|
||||||
echo "BUILD_TARGET: " $BUILD_TARGET
|
echo "BUILD_TARGET: " $BUILD_TARGET
|
||||||
echo "BUILD_ARCH: " $BUILD_ARCH
|
echo "BUILD_ARCH: " $BUILD_ARCH
|
||||||
echo "CARGO_TARGET: " $CARGO_TARGET
|
echo "CARGO_TARGET: " $CARGO_TARGET
|
||||||
|
@ -10,7 +10,6 @@ rustup default stable-x86_64-pc-windows-msvc
|
|||||||
echo "__________Show ENVIROMENT__________"
|
echo "__________Show ENVIROMENT__________"
|
||||||
echo "CI_SERVER_NAME: " $CI_SERVER_NAME
|
echo "CI_SERVER_NAME: " $CI_SERVER_NAME
|
||||||
echo "CARGO_HOME: " $CARGO_HOME
|
echo "CARGO_HOME: " $CARGO_HOME
|
||||||
echo "CARGO_TARGET_DIR: " $CARGO_TARGET_DIR
|
|
||||||
echo "BUILD_TARGET: " $BUILD_TARGET
|
echo "BUILD_TARGET: " $BUILD_TARGET
|
||||||
echo "BUILD_ARCH: " $BUILD_ARCH
|
echo "BUILD_ARCH: " $BUILD_ARCH
|
||||||
echo "CARGO_TARGET: " $CARGO_TARGET
|
echo "CARGO_TARGET: " $CARGO_TARGET
|
||||||
|
Loading…
Reference in New Issue
Block a user