Commit ca70f8a3 authored by Alexander Wiebel's avatar Alexander Wiebel

[CHANGE] use cache key for CI

parent 6856c3f5
...@@ -13,13 +13,16 @@ init2: ...@@ -13,13 +13,16 @@ init2:
script: script:
- echo "Init2 job output" - echo "Init2 job output"
- exit 1 - exit 1
allow_failure: true
buildAndTest: buildAndTest:
stage: test stage: test
cache: cache:
key: "CacheRelease"
paths: paths:
- build/release - build/release
script: script:
- pwd
- mkdir -p build - mkdir -p build
- cd build - cd build
- mkdir -p release - mkdir -p release
...@@ -33,9 +36,11 @@ buildAndTest: ...@@ -33,9 +36,11 @@ buildAndTest:
buildAndTestDebug: buildAndTestDebug:
stage: testDebug stage: testDebug
cache: cache:
key: "CacheDebug"
paths: paths:
- build/debug - build/debug
script: script:
- pwd
- mkdir -p build - mkdir -p build
- cd build - cd build
- mkdir -p debug - mkdir -p debug
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment