-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
22 lines (19 loc) · 951 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: cpp
dist: focal
compiler:
- clang
before_install:
- sudo apt-get -qq update
- sudo apt install -y luajit libluajit-5.1-dev
- sudo apt install -y libseccomp-dev libsodium-dev numdiff libpcre++-dev
- sudo pip3 install cffi meson ninja
- wget https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_1.tar.gz
- tar zxf hdf5-1_12_1.tar.gz
- pushd hdf5-hdf5-1_12_1; mkdir build; cd build; cmake -DHDF5_ENABLE_DIRECT_VFD=ON ..; make -j$(nproc); sudo make install; popd
script:
- mkdir -p build
- CXX=clang++ meson -Dwith-python=true -Dwith-cpp=true -Dwith-lua=true . build
- ninja -C build
- pushd test; ./run_tests.sh || travis_terminate 1; popd
env:
- PATH=$PATH:$PWD/build:/usr/local/HDF_Group/HDF5/1.12.1/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu:/usr/local/HDF_Group/HDF5/1.12.1/lib PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/HDF_Group/HDF5/1.12.1/lib/pkgconfig HDF5_PLUGIN_PATH=$PWD/build