diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68f5d66..97228fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: []