returning back to using 'cache'

This commit is contained in:
Filip Bucek 2019-11-08 17:43:44 +01:00
parent a0c36627a2
commit be0e0d4d37

View File

@ -14,15 +14,16 @@ variables:
build:
stage: build
tags:
- vm
- shell
script:
- mkdir -p build
- cd build
- qmake ../colnod-connector.pro
- make -j4
artifacts:
cache:
key: ${CI_BUILD_REF_NAME}
paths:
- build/
- build/
# ########
# Test
@ -30,7 +31,7 @@ build:
test:
stage: test
tags:
- vm
- shell
script:
- cd build
- make check
@ -40,7 +41,7 @@ test:
valgrind:
stage: test
tags:
- vm
- shell
script:
- cd build
- valgrind make check
@ -49,7 +50,7 @@ valgrind:
cppcheck:
stage: test
tags:
- vm
- shell
#allow_failure: true # Probably needed to allow failure
script:
- server-sdk/scripts/cppcheck.sh
@ -58,14 +59,14 @@ cppcheck:
lineendings:
stage: test
tags:
- vm
- shell
script:
- server-sdk/scripts/check.sh
codecoverage:
stage: test
tags:
- vm
- shell
script:
- server-sdk/scripts/codecoverage.sh
coverage: '/^\s+functions..:\s+(\d+\.\d+%).+$/'
@ -73,6 +74,6 @@ codecoverage:
doc:
stage: test
tags:
- vm
- shell
script:
- server-sdk/scripts/doc.sh clean # 'clean' better clean before generating documentation