ci: use cargo home instead of cargo target dir

This commit is contained in:
5chdn 2018-10-01 18:48:55 +01:00
parent 91d732f23c
commit a125169932
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
3 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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