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