define cached files globally/ including last test job

This commit is contained in:
lukas 2020-05-08 17:28:19 +02:00
parent 25f32dc4f4
commit 826386e849

View File

@ -6,22 +6,24 @@ stages:
- build_package - build_package
- test - test
cache:
paths:
- build/
- src/
- inc/
- tests/
- postinst
cmake: cmake:
stage: cmake stage: cmake
script: script:
- cmake -S . -B build - cmake -S . -B build
cache:
paths:
- ./
build: build:
stage: build stage: build
script: script:
- cd build - cd build
- make - make
cache:
paths:
- ./
artifacts: artifacts:
paths: paths:
- "build/bin/*" - "build/bin/*"
@ -32,9 +34,6 @@ build_package:
script: script:
- cd build - cd build
- make package - make package
cache:
paths:
- ./
artifacts: artifacts:
paths: paths:
- "build/packages/*" - "build/packages/*"