mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 16:50:48 +02:00
updating ci
This commit is contained in:
parent
22080cb83b
commit
7f903b601b
@ -6,23 +6,29 @@ stages:
|
|||||||
# To clone also submodules
|
# To clone also submodules
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
PRO_FILE: ../colnod-connector.pro
|
||||||
|
SCRIPT_PATH: server-sdk/scripts
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- build/
|
||||||
|
|
||||||
##########
|
###########
|
||||||
# Build
|
# Build
|
||||||
##########
|
##########
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
before_script:
|
||||||
|
- git submodule sync --recursive
|
||||||
|
- git submodule update --init --recursive
|
||||||
script:
|
script:
|
||||||
|
- ls server-sdk
|
||||||
- mkdir -p build
|
- mkdir -p build
|
||||||
- cd build
|
- cd build
|
||||||
- qmake ../colnod-connector.pro
|
- qmake $PRO_FILE
|
||||||
- make -j4
|
- make -j4
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- build/
|
|
||||||
|
|
||||||
##########
|
##########
|
||||||
# Test
|
# Test
|
||||||
@ -32,7 +38,9 @@ test:
|
|||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p build
|
||||||
- cd build
|
- cd build
|
||||||
|
- qmake $PRO_FILE
|
||||||
- make check
|
- make check
|
||||||
|
|
||||||
# memory leak check for unittest
|
# memory leak check for unittest
|
||||||
@ -41,7 +49,9 @@ valgrind:
|
|||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p build
|
||||||
- cd build
|
- cd build
|
||||||
|
- qmake $PRO_FILE
|
||||||
- valgrind make check
|
- valgrind make check
|
||||||
|
|
||||||
# Quality of code
|
# Quality of code
|
||||||
@ -51,7 +61,7 @@ cppcheck:
|
|||||||
- shell
|
- shell
|
||||||
#allow_failure: true # Probably needed to allow failure
|
#allow_failure: true # Probably needed to allow failure
|
||||||
script:
|
script:
|
||||||
- server-sdk/scripts/cppcheck.sh
|
- $SCRIPT_PATH/cppcheck.sh
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
# Common checks ( Line endings )
|
# Common checks ( Line endings )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user