From 5e789e5b1d5971c1a9fe7cf76c0a0d2dd63250ae Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Mon, 16 Jul 2018 14:21:35 +0200 Subject: [PATCH] [ci] use cache only in package:test jobs --- .gitlab-ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76228a2f..9a990c16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,10 +67,6 @@ tests:linux64:stable: script: - cargo build --features strict - cargo test --all - cache: - paths: - - cargo/ - - target/ tests:armv7:stable: <<: *rust_stable_armv7 @@ -148,6 +144,10 @@ package:test:win64: stage: package script: - bash "release/arch/win64/build-win64.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)" + cache: + paths: + - cargo/ + - target/ artifacts: paths: - work/bin/ @@ -178,10 +178,6 @@ package:prod:linux64: stage: package script: - bash "release/arch/linux-x64/build-lin-x64.sh" "${CI_COMMIT_TAG#v}" - cache: - paths: - - cargo/ - - target/ artifacts: paths: - work/bin/ -- GitLab