keep data between stages

This commit is contained in:
lukas 2020-05-08 17:20:11 +02:00
parent a43b730b53
commit 2b863c6050

View File

@ -10,12 +10,18 @@ cmake:
stage: cmake stage: cmake
script: script:
- cmake -S . -B build - cmake -S . -B build
cache:
paths:
- build/
build: build:
stage: build stage: build
script: script:
- cd build - cd build
- make - make
cache:
paths:
- build/
artifacts: artifacts:
paths: paths:
- "build/bin/*" - "build/bin/*"
@ -26,6 +32,9 @@ build_package:
script: script:
- cd build - cd build
- make package - make package
cache:
paths:
- build/
artifacts: artifacts:
paths: paths:
- "build/packages/*" - "build/packages/*"