parent
8f96b6467a
commit
f7c5279a9c
|
@ -8,30 +8,12 @@ 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
|
||||||
|
@ -40,8 +22,28 @@ make_test:
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y make cmake clang-tidy
|
- 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
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make
|
- make
|
||||||
- make test
|
- make test
|
||||||
|
|
||||||
|
cmake_build:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- docker-ci
|
||||||
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y make cmake clang-tidy
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- cmake ..
|
||||||
|
- make
|
Loading…
Reference in New Issue