Skip to content
Snippets Groups Projects
Commit 0914f9a3 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Use different cache for each image

parent ada3d813
No related branches found
No related tags found
1 merge request!19Feature/ci
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- build/
untracked: true
stages: stages:
- build - build
- test - test
...@@ -17,6 +11,12 @@ build:gcc8-seq-coverage: ...@@ -17,6 +11,12 @@ build:gcc8-seq-coverage:
- cd build - cd build
- CXX=g++-8 CC=gcc-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage - CXX=g++-8 CC=gcc-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage
- make pugs - make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc8"
paths:
- build/
untracked: true
test:gcc8-seq-coverage: test:gcc8-seq-coverage:
image: localhost:5000/ubuntu_gcc8 image: localhost:5000/ubuntu_gcc8
...@@ -27,6 +27,11 @@ test:gcc8-seq-coverage: ...@@ -27,6 +27,11 @@ test:gcc8-seq-coverage:
- cd build - cd build
- make run_unit_tests - make run_unit_tests
- make coverage - make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc8"
paths:
- build/
untracked: true
build:clang8-seq-coverage: build:clang8-seq-coverage:
image: localhost:5000/ubuntu_clang8 image: localhost:5000/ubuntu_clang8
...@@ -36,6 +41,11 @@ build:clang8-seq-coverage: ...@@ -36,6 +41,11 @@ build:clang8-seq-coverage:
- cd build - cd build
- CXX=clang++-8 CC=clang-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8 - CXX=clang++-8 CC=clang-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8
- make pugs - make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-clang8"
paths:
- build/
untracked: true
test:clang8-seq-coverage: test:clang8-seq-coverage:
image: localhost:5000/ubuntu_clang8 image: localhost:5000/ubuntu_clang8
...@@ -46,3 +56,8 @@ test:clang8-seq-coverage: ...@@ -46,3 +56,8 @@ test:clang8-seq-coverage:
- cd build - cd build
- make run_unit_tests - make run_unit_tests
- make coverage - make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-clang8"
paths:
- build/
untracked: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment