terminal/.gitlab-ci.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2019-11-01 12:33:42 +01:00
---
image: samueldebruyn/debian-git:latest
stages:
- style
- test
- build
yamllint:
image: sdesbure/yamllint:latest
stage: lint
tags:
- docker-ci
script:
- apk update
- apk add --no-cache git
- git config --file=.gitmodules submodule.client.url ../client/client.git
- git config --file=.gitmodules submodule.shared-memory.url ../shared-memory/Shared-Memory.git
- git config --file=.gitmodules submodule.fltk.url ../fltk/fltk.git
- git submodule sync --recursive
- git submodule update --init client shared-memory fltk
- "#################################################################"
- yamllint --version
- "#################################################################"
- sh .ci/yamllint.sh
clang_tidy:
image: jhase/
tags:
- docker-ci
script:
- clang-tidy;-header-filter=.;-checks=*;
make_test:
stage: test
tags:
- docker-ci
script:
- apt-get update
- apt-get install -y make cmake clang-tidy
- mkdir build
- cd build
- cmake ..
- make
- make test