Skip to content

Commit 128599e

Browse files
authored
Merge pull request #39 from OctoMap/wxm-upgrade-to-noetic
Add GitHub Actions CI, address warnings for ROS Noetic
2 parents c8eafdb + 226d02c commit 128599e

File tree

4 files changed

+49
-17
lines changed

4 files changed

+49
-17
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
2+
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
3+
4+
name: CI
5+
6+
# This determines when this workflow is run
7+
on: [push, pull_request] # on all pushes and PRs
8+
9+
jobs:
10+
CI:
11+
strategy:
12+
matrix:
13+
env:
14+
- {ROS_DISTRO: kinetic}
15+
- {ROS_DISTRO: melodic}
16+
- {ROS_DISTRO: noetic}
17+
- {ROS_DISTRO: kinetic, PRERELEASE: true}
18+
- {ROS_DISTRO: melodic, PRERELEASE: true}
19+
- {ROS_DISTRO: noetic, PRERELEASE: true}
20+
env:
21+
CCACHE_DIR: /github/home/.ccache # Enable ccache
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
# This step will fetch/store the directory used by ccache before/after the ci run
26+
- uses: actions/cache@v2
27+
with:
28+
path: ${{ env.CCACHE_DIR }}
29+
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
30+
# Run industrial_ci
31+
- uses: 'ros-industrial/industrial_ci@master'
32+
env: ${{ matrix.env }}

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.3)
1+
cmake_minimum_required(VERSION 3.0.2)
22
project(octomap_rviz_plugins)
33

44
find_package(catkin REQUIRED COMPONENTS octomap_msgs
@@ -21,7 +21,7 @@ catkin_package(
2121
CATKIN_DEPENDS octomap_msgs
2222
roscpp
2323
rviz
24-
DEPENDS octomap
24+
DEPENDS OCTOMAP
2525
)
2626

2727

@@ -49,6 +49,7 @@ set(SOURCE_FILES
4949

5050
add_library(${PROJECT_NAME} ${SOURCE_FILES})
5151
target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES} ${Boost_LIBRARIES} ${OCTOMAP_LIBRARIES} ${catkin_LIBRARIES})
52+
target_compile_options(${PROJECT_NAME} PUBLIC "-Wno-register") # Avoid OGRE deprecaton warnings under C++17
5253

5354
install(DIRECTORY include/${PROJECT_NAME}/
5455
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
octomap_rviz_plugins
1+
octomap_rviz_plugins [![CI](https://github.com/octomap/octomap_rviz_plugins/workflows/CI/badge.svg)](https://github.com/octomap/octomap_rviz_plugins/actions?query=workflow%3ACI)
22
====================
33

44
RViz display plugins for visualizing octomap messages (ROS groovy and later):

package.xml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<package>
1+
<package format="3">
22
<name>octomap_rviz_plugins</name>
33
<version>0.2.2</version>
4-
<description>
4+
<description>
55
A set of plugins for displaying occupancy information decoded from binary octomap messages.
6-
</description>
6+
</description>
77

88
<maintainer email="armin@hornung.io">Armin Hornung</maintainer>
9-
<maintainer email="w.merkt+oss@gmail.com">Wolfgang Merkt</maintainer>
10-
9+
<maintainer email="opensource@wolfgangmerkt.com">Wolfgang Merkt</maintainer>
10+
1111
<url type="website">http://ros.org/wiki/octomap_rviz_plugins</url>
1212
<url type="bugtracker">https://github.com/OctoMap/octomap_rviz_plugins/issues</url>
1313

@@ -24,17 +24,16 @@
2424
<build_depend>qtbase5-dev</build_depend>
2525
<build_depend>libqt5-core</build_depend>
2626
<build_depend>libqt5-widgets</build_depend>
27-
28-
<run_depend>octomap_msgs</run_depend>
29-
<run_depend>octomap</run_depend>
30-
<run_depend>roscpp</run_depend>
31-
<run_depend>rviz</run_depend>
32-
<run_depend>qtbase5-dev</run_depend>
33-
<run_depend>libqt5-core</run_depend>
34-
<run_depend>libqt5-widgets</run_depend>
27+
28+
<exec_depend>octomap_msgs</exec_depend>
29+
<exec_depend>octomap</exec_depend>
30+
<exec_depend>roscpp</exec_depend>
31+
<exec_depend>rviz</exec_depend>
32+
<exec_depend>qtbase5-dev</exec_depend>
33+
<exec_depend>libqt5-core</exec_depend>
34+
<exec_depend>libqt5-widgets</exec_depend>
3535

3636
<export>
3737
<rviz plugin="${prefix}/plugin_description.xml"/>
3838
</export>
39-
4039
</package>

0 commit comments

Comments
 (0)