Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ROS
uses: ros-tooling/setup-ros@v0.6
with:
required-ros-distributions: noetic
- name: Build
uses: ros-tooling/action-ros-ci@v0.3
with:
target-ros1-distro: noetic
vcs-repo-file-url: .rosinstall
1 change: 1 addition & 0 deletions .rosinstall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repositories:
19 changes: 13 additions & 6 deletions roomba_500driver_meiji/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.5)
project(roomba_500driver_meiji)

## Find catkin macros and libraries
Expand Down Expand Up @@ -181,11 +181,11 @@ add_dependencies(twist_to_roombactrl_converter ${PROJECT_NAME}_generate_messages
# )

## Mark executables and/or libraries for installation
# install(TARGETS roomba_500driver_meiji roomba_500driver_meiji_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
install(TARGETS roomba_500driver_meiji main500 roomba500sci serial twist_to_roombactrl_converter
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

## Mark cpp header files for installation
install(DIRECTORY include/${PROJECT_NAME}/
Expand Down Expand Up @@ -213,3 +213,10 @@ install(DIRECTORY include/${PROJECT_NAME}/

## Add folders to be run by python nosetests
# catkin_add_nosetests(test)

if(CATKIN_ENABLE_TESTING)
find_package(roslint REQUIRED)
set(ROSLINT_CPP_OPTS "--filter=-build/c++11,-runtime/references,-legal/copyright")
roslint_cpp()
roslint_add_test()
endif()
Loading