Update industrialci.yml

This commit is contained in:
Zachary 2021-07-12 18:14:13 +08:00
parent 223c8077ac
commit 3726d165de
2 changed files with 17 additions and 18 deletions

View file

@ -24,6 +24,9 @@ jobs:
env:
- { ROS_DISTRO: melodic, ROS_REPO: main }
# - { ROS_DISTRO: noetic, ROS_REPO: main }
env:
CCACHE_DIR: /github/home/.ccache
ISOLATION: shell
steps:
- name: Setup directories
@ -32,8 +35,9 @@ jobs:
uses: actions/checkout@v2
with:
path: ros_ws/src
- name: Setup ROS environment
uses: ros-tooling/setup-ros@0.2.1
env: ${{ matrix.env }}
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
- uses: "ros-industrial/industrial_ci@master"
env: ${{ matrix.env }}

View file

@ -42,8 +42,3 @@ add_executable(opencv_camera src/opencv_camera)
target_link_libraries(opencv_camera ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_executable(camera_display src/camera_display)
target_link_libraries(camera_display ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
if (CATKIN_ENABLE_TESTING)
find_package(roslaunch REQUIRED)
roslaunch_add_file_check(launch)
endif()