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
- test
cache:
paths:
- build/
- src/
- inc/
- tests/
- postinst
cmake:
stage: cmake
script:
- cmake -S . -B build
cache:
paths:
- ./
build:
stage: build
script:
- cd build
- make
cache:
paths:
- ./
artifacts:
paths:
- "build/bin/*"
@ -32,9 +34,6 @@ build_package:
script:
- cd build
- make package
cache:
paths:
- ./
artifacts:
paths:
- "build/packages/*"