2014-05-20 17:54:43 +00:00
|
|
|
language: cpp
|
2015-05-07 21:06:11 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-05-20 17:54:43 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2016-06-21 15:51:43 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python3
|
2014-05-20 17:54:43 +00:00
|
|
|
script:
|
|
|
|
- echo "CXX="$CXX
|
|
|
|
- echo "CC="$CC
|
2016-06-21 15:51:43 +00:00
|
|
|
- cmake . -DBUILD_PYBULLET=ON -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror
|
2014-05-20 17:54:43 +00:00
|
|
|
- make -j8
|
2015-11-25 00:13:21 +00:00
|
|
|
- ctest -j8 --output-on-failure
|
|
|
|
# Build again with double precision
|
2014-05-20 18:11:15 +00:00
|
|
|
- cmake . -G "Unix Makefiles" -DUSE_DOUBLE_PRECISION=ON #-DCMAKE_CXX_FLAGS=-Werror
|
|
|
|
- make -j8
|
2015-11-25 00:13:21 +00:00
|
|
|
- ctest -j8 --output-on-failure
|
|
|
|
# Build again with shared libraries
|
2015-05-07 22:12:23 +00:00
|
|
|
- cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON
|
|
|
|
- make -j8
|
2015-11-25 00:13:21 +00:00
|
|
|
- ctest -j8 --output-on-failure
|
2015-05-08 21:36:09 +00:00
|
|
|
- sudo make install
|