2018-07-23 00:46:31 +00:00
|
|
|
language: cpp
|
2020-08-19 17:58:26 +00:00
|
|
|
sudo: true
|
2018-07-23 00:46:31 +00:00
|
|
|
os:
|
|
|
|
- linux
|
2018-07-23 15:05:14 +00:00
|
|
|
- osx
|
2018-07-23 00:46:31 +00:00
|
|
|
|
2020-08-19 17:58:26 +00:00
|
|
|
dist: bionic
|
|
|
|
osx_image: xcode12
|
|
|
|
|
2018-07-23 00:46:31 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2018-07-22 15:27:39 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- cmake
|
2020-08-19 17:21:39 +00:00
|
|
|
- libosmium2-dev
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- libosmium
|
|
|
|
- boost
|
2018-07-22 15:27:39 +00:00
|
|
|
|
2018-07-23 01:32:42 +00:00
|
|
|
before_install:
|
2018-07-23 01:39:44 +00:00
|
|
|
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
|
2020-08-19 17:58:26 +00:00
|
|
|
- git clone https://github.com/mapbox/protozero.git && cd protozero && cmake . -DINSTALL_GDALCPP=ON -DINSTALL_UTFCPP=ON && sudo make -j4 install && cd ..
|
2018-07-23 01:32:42 +00:00
|
|
|
|
2018-07-22 15:27:39 +00:00
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make -j4
|
2018-07-23 01:07:28 +00:00
|
|
|
- ctest --verbose
|
2018-07-22 15:27:39 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2018-07-23 15:15:39 +00:00
|
|
|
on_failure: always
|