-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
48 lines (46 loc) · 1.51 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
image: ubuntu:latest
before_script:
- apt-get -yqq update
- apt-get -yqq install cmake
git
build-essential
qt5-default
libboost-dev
libqt5scintilla2-dev
libavcodec-dev
libavdevice-dev
libavfilter-dev
libavformat-dev
libavresample-dev
libavutil-dev
libswscale-dev
libnetcdf-dev
libhdf5-dev
libhdf5-serial-dev
libbotan1.10-dev
libmuparser-dev
python3-dev
python3-sphinx
python3-numpy
python3-sip
python3-pyqt5
python3-matplotlib
xsltproc
docbook-xml
povray
build_linux:
stage: build
tags:
- linux
script:
- mkdir build
- cd build
- cmake
-DCMAKE_BUILD_TYPE=Debug
-DOVITO_BUILD_DOCUMENTATION=ON
-DPYTHON_INCLUDE_DIR=/usr/include/python3.5m
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so
-DCMAKE_INSTALL_PREFIX=../install
..
- make -j2 install
- ctest --output-on-failure