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