~ generalize for all modules

This commit is contained in:
Johannes Theiner 2019-11-06 17:39:21 +00:00
parent f7c5279a9c
commit d1b05c89a7
1 changed files with 20 additions and 11 deletions

View File

@ -10,6 +10,7 @@ stages:
clang_tidy: clang_tidy:
image: jhase/ image: jhase/
stage: style
tags: tags:
- docker-ci - docker-ci
script: script:
@ -22,14 +23,14 @@ 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 .. - mkdir current
- ls - mv !(current) current
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.repo.digitech.hs-emden-leer.de/link/projekte/ws19/vkvm-new/library.git - 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 - mkdir library/build
- cd library/build - cd library/build
- cmake .. - cmake ..
- make - make
- cd ../../terminal - cd ../../current
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - cmake ..
@ -43,6 +44,14 @@ cmake_build:
script: script:
- apt-get update - apt-get update
- apt-get install -y make cmake clang-tidy - apt-get install -y make cmake clang-tidy
- mkdir current
- mv !(current) current
- 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 ../../current
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - cmake ..