File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,8 @@ jobs:
234
234
apt install -qq -y python3-rosdep2
235
235
echo "yaml ${{ matrix.ROS_REPOSITORY_URL }}/local.yaml debian" | tee /etc/ros/rosdep/sources.list.d/1-ros-o-builder.list
236
236
rosdep update
237
+ # disable installing recommends as ros-o-builder do
238
+ echo 'APT::Install-Recommends "false";' | tee /etc/apt/apt.conf.d/99norecommends
237
239
238
240
- name : Setup catkin-tools
239
241
run : |
Original file line number Diff line number Diff line change 17
17
<build_depend condition =" $ROS_PYTHON_VERSION == 2" >python</build_depend >
18
18
<build_depend condition =" $ROS_PYTHON_VERSION == 3" >python3</build_depend >
19
19
<build_depend >flex</build_depend >
20
+ <build_depend >libfl-dev</build_depend >
20
21
<build_depend >bison</build_depend >
21
22
<build_depend >gawk</build_depend >
22
23
<build_depend >rostest</build_depend >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ catkin_package(
20
20
CATKIN_DEPENDS message_runtime
21
21
)
22
22
23
- if ("$ENV{ROS_DISTRO} " MATCHES "indigo" )
23
+ if ("$ENV{ROS_DISTRO} " MATCHES "indigo" OR " $ENV{ROS_DISTRO} " MATCHES "kinetic" )
24
24
message (WARNING "nfc_ros requires python3.6 or newer. For indigo, virtualenv generation is skipped." )
25
25
else ()
26
26
catkin_generate_virtualenv (
@@ -36,7 +36,7 @@ install(FILES requirements.txt
36
36
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
37
37
)
38
38
39
- if (CATKIN_ENABLE_TESTING )
39
+ if (CATKIN_ENABLE_TESTING AND ( " $ENV{ROS_DISTRO} " MATCHES "indigo" OR " $ENV{ROS_DISTRO} " MATCHES "kinetic" ) )
40
40
find_package (rostest REQUIRED )
41
41
add_rostest (test /test_rospy_node.test
42
42
DEPENDENCIES ${PROJECT_NAME} _generate_virtualenv
You can’t perform that action at this time.
0 commit comments