-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
74 lines (70 loc) · 2 KB
/
.travis.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: cpp
dist: bionic
matrix:
include:
- os: linux
env:
- CC=gcc-7
- CXX=g++-7
- os: linux
env:
- CC=clang
- CXX=clang++
addons:
apt:
packages:
- doxygen
- graphviz
- libhdf5-dev
- libmagick++-dev
- libblosc-dev
- libopenmpi-dev
- libzstd-dev
- ctags
before_install:
- wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.14.6/cmake-3.14.6-Linux-x86_64.sh
- sudo sh cmake.sh --skip-licence --exclude-subdir --prefix=/usr/local
- export PATH=/usr/local/bin:$PATH
- cmake --version
- git clone https://github.com/disheng222/SZ
- mkdir SZ/build
- pushd SZ/build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
- cmake --build .
- sudo cmake --build . --target install
- popd
- git clone https://github.com/robertu94/libdistributed
- mkdir libdistributed/build
- pushd libdistributed/build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
- cmake --build .
- sudo cmake --build . --target install
- popd
- git clone https://github.com/robertu94/libpressio
- mkdir libpressio/build
- pushd libpressio/build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DLIBPRESSIO_HAS_SZ=ON -DLIBPRESSIO_HAS_LIBDISTRIBUTED=ON -DLIBPRESSIO_HAS_MPI=ON
- cmake --build .
- sudo cmake --build . --target install
- popd
- git clone https://github.com/davisking/dlib
- mkdir dlib/build
- pushd dlib/build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
- cmake --build .
- sudo cmake --build . --target install
- popd
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_DOCS=ON
- cmake --build .
- cmake --build . --target docs
deploy:
provider: pages
skip_cleanup: true
local_dir: build/html
github_token: $GH_REPO_TOKEN
on:
branch: master
condition: $CC = clang