cache whole project between jobs

This commit is contained in:
lukas 2020-05-08 17:23:19 +02:00
parent 2b863c6050
commit 25f32dc4f4

View File

@ -12,7 +12,7 @@ cmake:
- cmake -S . -B build - cmake -S . -B build
cache: cache:
paths: paths:
- build/ - ./
build: build:
stage: build stage: build
@ -21,7 +21,7 @@ build:
- make - make
cache: cache:
paths: paths:
- build/ - ./
artifacts: artifacts:
paths: paths:
- "build/bin/*" - "build/bin/*"
@ -34,7 +34,7 @@ build_package:
- make package - make package
cache: cache:
paths: paths:
- build/ - ./
artifacts: artifacts:
paths: paths:
- "build/packages/*" - "build/packages/*"