~ adding catch2 to ci env
This commit is contained in:
parent
26794cab17
commit
9d01748297
|
@ -25,6 +25,11 @@ make_test:
|
||||||
- apt-get install -y g++ make cmake clang-tidy
|
- apt-get install -y g++ make cmake clang-tidy
|
||||||
- mkdir current
|
- mkdir current
|
||||||
- ls | grep -v current | xargs mv -t current
|
- ls | grep -v current | xargs mv -t current
|
||||||
|
- git clone https://github.com/catchorg/Catch2.git
|
||||||
|
- cd Catch2
|
||||||
|
- cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
||||||
|
- sudo cmake --build build/ --target install
|
||||||
|
- cd ..
|
||||||
- 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
|
||||||
|
@ -45,7 +50,12 @@ cmake_build:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y g++ make cmake clang-tidy
|
- apt-get install -y g++ make cmake clang-tidy
|
||||||
- mkdir current
|
- mkdir current
|
||||||
- mv !(current) current
|
- ls | grep -v current | xargs mv -t current
|
||||||
|
- git clone https://github.com/catchorg/Catch2.git
|
||||||
|
- cd Catch2
|
||||||
|
- cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
||||||
|
- sudo cmake --build build/ --target install
|
||||||
|
- cd ..
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in New Issue