mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 13:10:45 +02:00
adding CI config file for gitlab-runner
This commit is contained in:
parent
8c3749b799
commit
cae10a3619
32
.gitlab-ci.yml
Normal file
32
.gitlab-ci.yml
Normal file
@ -0,0 +1,32 @@
|
||||
# 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 ../colnod-connector.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 UnitTest
|
||||
Loading…
x
Reference in New Issue
Block a user