# for stages: - build - test - quality # ######## # Build ########## build: # name of task stage: build # in what stage it will run ( 1. build then test etc ) tags: # Tags are used to choose correct gitlab-runner - shell # spaceti-runner server has running runners and one has tag 'hw' script: # run in bash - mkdir -p build - cd build - qmake ../core-sdk.pro - make -j1 cache: paths: - build/ # ######## # Test ########## test: # name of task stage: test # in what stage it will run ( 1. build then test etc ) tags: # Tags are used to choose correct gitlab-runner - shell # spaceti-runner server has running runners and one has tag 'hw' script: # run in bash - cd build - make check test valgrind: # name of task stage: test # in what stage it will run ( 1. build then test etc ) tags: # Tags are used to choose correct gitlab-runner - shell # spaceti-runner server has running runners and one has tag 'hw' script: # run in bash - cd build - valgrind make check test # Quality of code cppcheck: stage: test # in what stage it will run ( 1. build then test etc ) tags: # Tags are used to choose correct gitlab-runner - shell # spaceti-runner server has running runners and one has tag 'hw' # allow_failure: true script: # run in bash - scripts/cppcheck.sh