mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
33 lines
769 B
YAML
33 lines
769 B
YAML
language: cpp
|
|
os:
|
|
- linux
|
|
- osx
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
|
|
|
|
script:
|
|
- echo "CXX="$CXX
|
|
- echo "CC="$CC
|
|
- sudo pip3 install -U pip wheel
|
|
- sudo pip3 install setuptools
|
|
- sudo python3 setup.py install
|
|
- python3 examples/pybullet/unittests/unittests.py
|
|
- cmake . -DBUILD_PYBULLET=ON -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror
|
|
- make -j8
|
|
- ctest -j8 --output-on-failure
|
|
# Build again with double precision
|
|
- cmake . -G "Unix Makefiles" -DUSE_DOUBLE_PRECISION=ON #-DCMAKE_CXX_FLAGS=-Werror
|
|
- make -j8
|
|
- ctest -j8 --output-on-failure
|
|
# Build again with shared libraries
|
|
- cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON
|
|
- make -j8
|
|
- ctest -j8 --output-on-failure
|
|
- sudo make install
|