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