-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.gitlab-ci.yml
35 lines (31 loc) · 946 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
image: gitlab.ipb.uni-bonn.de:4567/global/docker-images:ipb_default
build_release:
script:
- export TERM=xterm
- export SHELL=/bin/bash
- apt-get update -yq
- apt-get install -y libeigen3-dev libboost-filesystem-dev libboost-system-dev libglew-dev xvfb mesa-utils
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DOPENGL_VERSION=330 -DFORCE_BUILD_TEST=On ..
- make
# finally run tests.
- xvfb-run -s "-screen 0 640x480x24" ctest -VV
stage: build
tags:
- docker
build_debug:
script:
- export TERM=xterm
- export SHELL=/bin/bash
- apt-get update -yq
- apt-get install -y libeigen3-dev libboost-filesystem-dev libboost-system-dev libglew-dev xvfb mesa-utils
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DOPENGL_VERSION=330 -DFORCE_BUILD_TEST=On ..
- make
# finally run tests.
- xvfb-run -s "-screen 0 640x480x24" ctest -VV
stage: build
tags:
- docker