~ testing library checkout
This commit is contained in:
Johannes Theiner 2019-11-03 16:53:35 +00:00
parent 8f96b6467a
commit f7c5279a9c
1 changed files with 21 additions and 19 deletions

View File

@ -8,33 +8,36 @@ stages:
- 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=*;
- sh .ci/clang-tidy.sh;
make_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:
- docker-ci
script:
@ -44,4 +47,3 @@ make_test:
- cd build
- cmake ..
- make
- make test