Skip to content

Commit

Permalink
Let's fix tests as well
Browse files Browse the repository at this point in the history
  • Loading branch information
costashatz committed Feb 1, 2024
1 parent 65c557d commit 89a673d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
fi
cd ${{github.workspace}}
if [ "$BUILD_PYTHON" = "ON" ]; then
./waf configure --python --prefix=/usr --dart=~/.dart_install ;
./waf configure --tests --python --prefix=/usr --dart=~/.dart_install ;
else
./waf configure --prefix=/usr --dart=~/.dart_install ;
./waf configure --tests --prefix=/usr --dart=~/.dart_install ;
fi
./waf
# - name: Run tests
# run: ./waf --tests
- name: Run tests
run: ./waf --tests
- name: Build examples
run: ./waf examples
- name: Install
Expand Down
2 changes: 1 addition & 1 deletion ci/install_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo apt-get -qq update
sudo apt-get -y install software-properties-common mlocate
sudo apt-add-repository -y ppa:dartsim/ppa
sudo apt-get -qq update
sudo apt-get install -y --no-install-recommends build-essential cmake pkg-config git libeigen3-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev libbullet-dev libode-dev liboctomap-dev libtinyxml-dev libtinyxml2-dev liburdfdom-dev liburdfdom-headers-dev python3-pip python3-numpy libpython3-dev libxi-dev libxmu-dev freeglut3-dev libopenscenegraph-dev libassimp-dev libfmt-dev pybind11-dev
sudo apt-get install -y --no-install-recommends build-essential cmake pkg-config git libeigen3-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libbullet-dev libode-dev liboctomap-dev libtinyxml-dev libtinyxml2-dev liburdfdom-dev liburdfdom-headers-dev python3-pip python3-numpy libpython3-dev libxi-dev libxmu-dev freeglut3-dev libopenscenegraph-dev libassimp-dev libfmt-dev pybind11-dev

sudo ln -s /usr/bin/python3 /usr/bin/python

Expand Down
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def configure_robot_dart(conf):
conf.check(features='cxx cxxprogram', lib=['pthread'], uselib_store='PTHREAD')
conf.check_eigen(required=True, min_version=(3,2,92))
conf.check_dart(required=True)
if conf.env['DART_REQUIRES_BOOST']:
if conf.env['DART_REQUIRES_BOOST'] or conf.options.tests:
conf.check_boost(lib='regex system filesystem unit_test_framework', min_version='1.58')
conf.check_corrade(components='Utility PluginManager', required=False)
conf.env['magnum_dep_libs'] = 'MeshTools Primitives Shaders SceneGraph GlfwApplication Text MagnumFont'
Expand Down

0 comments on commit 89a673d

Please sign in to comment.