Skip to content
Snippets Groups Projects
Commit 5e789e5b authored by Éloïs's avatar Éloïs
Browse files

[ci] use cache only in package:test jobs

parent 881a09e7
Branches
Tags
1 merge request!80CI build release for windows 64 bits
...@@ -67,10 +67,6 @@ tests:linux64:stable: ...@@ -67,10 +67,6 @@ tests:linux64:stable:
script: script:
- cargo build --features strict - cargo build --features strict
- cargo test --all - cargo test --all
cache:
paths:
- cargo/
- target/
tests:armv7:stable: tests:armv7:stable:
<<: *rust_stable_armv7 <<: *rust_stable_armv7
...@@ -148,6 +144,10 @@ package:test:win64: ...@@ -148,6 +144,10 @@ package:test:win64:
stage: package stage: package
script: script:
- bash "release/arch/win64/build-win64.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)" - bash "release/arch/win64/build-win64.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)"
cache:
paths:
- cargo/
- target/
artifacts: artifacts:
paths: paths:
- work/bin/ - work/bin/
...@@ -178,10 +178,6 @@ package:prod:linux64: ...@@ -178,10 +178,6 @@ package:prod:linux64:
stage: package stage: package
script: script:
- bash "release/arch/linux-x64/build-lin-x64.sh" "${CI_COMMIT_TAG#v}" - bash "release/arch/linux-x64/build-lin-x64.sh" "${CI_COMMIT_TAG#v}"
cache:
paths:
- cargo/
- target/
artifacts: artifacts:
paths: paths:
- work/bin/ - work/bin/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment