File tree Expand file tree Collapse file tree 5 files changed +31
-31
lines changed Expand file tree Collapse file tree 5 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ jobs:
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- os : [ubuntu-20 .04]
21
+ os : [ubuntu-22 .04]
22
22
build_type : [Release]
23
23
build_python : [ON]
24
24
compiler : [gcc, clang]
25
25
magnum_gui : [ON, OFF]
26
- dart_tag : ["v6.12 .1"]
26
+ dart_tag : ["v6.13 .1"]
27
27
env :
28
28
COMPILER : ${{ matrix.compiler }}
29
29
BUILD_TYPE : ${{ matrix.build_type }}
63
63
fi
64
64
cd ${{github.workspace}}
65
65
if [ "$BUILD_PYTHON" = "ON" ]; then
66
- ./waf configure --python --prefix=/usr --dart=~/.dart_install ;
66
+ ./waf configure --tests -- python --prefix=/usr --dart=~/.dart_install ;
67
67
else
68
- ./waf configure --prefix=/usr --dart=~/.dart_install ;
68
+ ./waf configure --tests -- prefix=/usr --dart=~/.dart_install ;
69
69
fi
70
70
./waf
71
71
- name : Run tests
Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ if [ "$COMPILER" = "clang" ]; then
12
12
export CC=/usr/bin/clang && export CXX=/usr/bin/clang++
13
13
fi
14
14
15
- # Build pybind11 if needed; for clang we need at least v2.5.0
16
- if [ " $COMPILER " = " clang" ]; then
17
- git clone https://github.com/pybind/pybind11 -b ' v2.5.0' --single-branch --depth 1
18
- cd pybind11
19
- mkdir build && cd build
20
- cmake .. -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF
21
- make -j4
22
- sudo make install
23
- cd ../..
24
- fi
15
+ # # Build pybind11 if needed; for clang we need at least v2.5.0
16
+ # if [ "$COMPILER" = "clang" ]; then
17
+ # git clone https://github.com/pybind/pybind11 -b 'v2.5.0' --single-branch --depth 1
18
+ # cd pybind11
19
+ # mkdir build && cd build
20
+ # cmake .. -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF
21
+ # make -j4
22
+ # sudo make install
23
+ # cd ../..
24
+ # fi
25
25
26
26
git clone https://github.com/dartsim/dart.git
27
27
cd dart
@@ -45,7 +45,7 @@ sudo ldconfig
45
45
cd $CI_HOME
46
46
47
47
# Hack for dartpy installation
48
- python_file=/usr/lib/python3/dist-packages/dartpy.cpython-38 -x86_64-linux-gnu.so
48
+ python_file=/usr/lib/python3/dist-packages/dartpy.cpython-310 -x86_64-linux-gnu.so
49
49
if [ -f " $python_file " ]; then
50
50
cp $python_file ~ /.dart_install/$python_dist_dir
51
51
fi
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ sudo apt-get -qq update
2
2
sudo apt-get -y install software-properties-common mlocate
3
3
sudo apt-add-repository -y ppa:dartsim/ppa
4
4
sudo apt-get -qq update
5
- 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
5
+ 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
6
6
7
7
sudo ln -s /usr/bin/python3 /usr/bin/python
8
8
9
- # if gcc, we can safely use the official package, for clang we need to build it
10
- if [ " $COMPILER " = " gcc" ]; then
11
- sudo apt-get install -y --no-install-recommends pybind11-dev
12
- fi
9
+ # # if gcc, we can safely use the official package, for clang we need to build it
10
+ # if [ "$COMPILER" = "gcc" ]; then
11
+ # sudo apt-get install -y --no-install-recommends pybind11-dev
12
+ # fi
13
13
14
14
if [ " $MAGNUM_GUI " = " ON" ]; then
15
15
sudo apt-get install -y --no-install-recommends libopenal-dev libglfw3-dev libsdl2-dev libdevil-dev libpng-dev libfaad-dev libfreetype6-dev libglm-dev
Original file line number Diff line number Diff line change 1
- # Build pybind11 if needed; for clang we need at least v2.5.0
2
- if [ " $COMPILER " = " clang" ]; then
3
- git clone https://github.com/pybind/pybind11 -b ' v2.5.0' --single-branch --depth 1
4
- cd pybind11
5
- mkdir build && cd build
6
- cmake .. -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF
7
- make -j4
8
- sudo make install
9
- cd ../..
10
- fi
1
+ # # Build pybind11 if needed; for clang we need at least v2.5.0
2
+ # if [ "$COMPILER" = "clang" ]; then
3
+ # git clone https://github.com/pybind/pybind11 -b 'v2.5.0' --single-branch --depth 1
4
+ # cd pybind11
5
+ # mkdir build && cd build
6
+ # cmake .. -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF
7
+ # make -j4
8
+ # sudo make install
9
+ # cd ../..
10
+ # fi
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def configure_robot_dart(conf):
103
103
conf .check (features = 'cxx cxxprogram' , lib = ['pthread' ], uselib_store = 'PTHREAD' )
104
104
conf .check_eigen (required = True , min_version = (3 ,2 ,92 ))
105
105
conf .check_dart (required = True )
106
- if conf .env ['DART_REQUIRES_BOOST' ]:
106
+ if conf .env ['DART_REQUIRES_BOOST' ] or conf . options . tests :
107
107
conf .check_boost (lib = 'regex system filesystem unit_test_framework' , min_version = '1.58' )
108
108
conf .check_corrade (components = 'Utility PluginManager' , required = False )
109
109
conf .env ['magnum_dep_libs' ] = 'MeshTools Primitives Shaders SceneGraph GlfwApplication Text MagnumFont'
You can’t perform that action at this time.
0 commit comments