server-sdk/.gitlab-ci.yml
2019-11-05 09:25:02 +01:00

33 lines
717 B
YAML

# for
stages:
- build
- test
# ########
# 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
- hw # 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 -j8
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
- hw # spaceti-runner server has running runners and one has tag 'hw'
script: # run in bash
- cd build
- make check test