mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 11:50:42 +02:00
using artifact with dependancy
This commit is contained in:
parent
22e281a2a7
commit
4ded480088
@ -16,10 +16,11 @@ build: # name of task
|
||||
- cd build
|
||||
- qmake ../server-sdk.pro
|
||||
- make -j4
|
||||
cache:
|
||||
key: ${CI_BUILD_REF_NAME}
|
||||
artifacts:
|
||||
paths:
|
||||
- build/
|
||||
- build/
|
||||
|
||||
|
||||
|
||||
# ########
|
||||
# Test
|
||||
@ -32,6 +33,7 @@ test:
|
||||
- cd build
|
||||
- make check
|
||||
|
||||
|
||||
# memory leak check for unittest
|
||||
valgrind:
|
||||
stage: test
|
||||
@ -49,6 +51,7 @@ cppcheck:
|
||||
#allow_failure: true # Probably needed to allow failure
|
||||
script:
|
||||
- scripts/cppcheck.sh
|
||||
dependencies: []
|
||||
|
||||
# Common checks ( Line endings )
|
||||
lineendings:
|
||||
@ -57,6 +60,7 @@ lineendings:
|
||||
- shell
|
||||
script:
|
||||
- scripts/check.sh
|
||||
dependencies: []
|
||||
|
||||
codecoverage:
|
||||
stage: test
|
||||
@ -65,6 +69,7 @@ codecoverage:
|
||||
script:
|
||||
- scripts/codecoverage.sh
|
||||
coverage: '/^\s+functions..:\s+(\d+\.\d+%).+$/'
|
||||
dependencies: []
|
||||
|
||||
doc:
|
||||
stage: test
|
||||
@ -72,3 +77,4 @@ doc:
|
||||
- shell
|
||||
script:
|
||||
- scripts/doc.sh clean # 'clean' better clean before generating documentation
|
||||
dependencies: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user