mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
26 lines
752 B
YAML
26 lines
752 B
YAML
language: c
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
before_install:
|
|
# Get CMake >=2.8.8, HDF5 >= 1.8.6
|
|
# - sudo add-apt-repository -y ppa:amcg/netcdf-parallel
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool clang
|
|
|
|
# We need to install hdf5.
|
|
# hdf5-1.8.14.tar.bz2
|
|
- wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.14/src/hdf5-1.8.14.tar.bz2
|
|
- tar -jxf hdf5-1.8.14.tar.bz2
|
|
- cd hdf5-1.8.14 && ./configure --enable-shared --disable-static --disable-fortran --enable-hl --disable-fortran --prefix=/usr && make -j 4 && sudo make install
|
|
- cd ..
|
|
|
|
before_script:
|
|
- autoreconf -if
|
|
- ./configure --enable-extra-tests
|
|
|
|
script:
|
|
- make -j 4
|
|
- LD_LIBRARY_PATH=/usr/local/lib make check
|