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

Use different build/dir for each image

parent 0914f9a3
No related branches found
No related tags found
1 merge request!19Feature/ci
......@@ -7,14 +7,14 @@ build:gcc8-seq-coverage:
image: localhost:5000/ubuntu_gcc8
stage: build
script:
- mkdir -p build
- cd build
- CXX=g++-8 CC=gcc-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage
- mkdir -p build/gcc8
- cd build/gcc8
- CXX=g++-8 CC=gcc-8 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc8"
paths:
- build/
- build/gcc8
untracked: true
......@@ -24,27 +24,27 @@ test:gcc8-seq-coverage:
dependencies:
- build:gcc8-seq-coverage
script:
- cd build
- cd build/gcc8
- make run_unit_tests
- make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc8"
paths:
- build/
- build/gcc8
untracked: true
build:clang8-seq-coverage:
image: localhost:5000/ubuntu_clang8
stage: build
script:
- mkdir -p build
- cd build
- CXX=clang++-8 CC=clang-8 cmake .. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8
- mkdir -p build/clang8
- cd build/clang8
- CXX=clang++-8 CC=clang-8 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-clang8"
paths:
- build/
- build/clang8
untracked: true
test:clang8-seq-coverage:
......@@ -53,11 +53,11 @@ test:clang8-seq-coverage:
dependencies:
- build:clang8-seq-coverage
script:
- cd build
- cd build/clang8
- make run_unit_tests
- make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-clang8"
paths:
- build/
- build/clang8
untracked: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment