parent
8f96b6467a
commit
f7c5279a9c
|
@ -8,33 +8,36 @@ stages:
|
||||||
- build
|
- 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:
|
clang_tidy:
|
||||||
image: jhase/
|
image: jhase/
|
||||||
tags:
|
tags:
|
||||||
- docker-ci
|
- docker-ci
|
||||||
script:
|
script:
|
||||||
- clang-tidy;-header-filter=.;-checks=*;
|
- sh .ci/clang-tidy.sh;
|
||||||
|
|
||||||
make_test:
|
make_test:
|
||||||
stage: test
|
stage: test
|
||||||
|
tags:
|
||||||
|
- docker-ci
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y make cmake clang-tidy
|
||||||
|
- cd ..
|
||||||
|
- ls
|
||||||
|
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.repo.digitech.hs-emden-leer.de/link/projekte/ws19/vkvm-new/library.git
|
||||||
|
- mkdir library/build
|
||||||
|
- cd library/build
|
||||||
|
- cmake ..
|
||||||
|
- make
|
||||||
|
- cd ../../terminal
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- cmake ..
|
||||||
|
- make
|
||||||
|
- make test
|
||||||
|
|
||||||
|
cmake_build:
|
||||||
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- docker-ci
|
- docker-ci
|
||||||
script:
|
script:
|
||||||
|
@ -44,4 +47,3 @@ make_test:
|
||||||
- cd build
|
- cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make
|
- make
|
||||||
- make test
|
|
||||||
|
|
Loading…
Reference in New Issue