Skip to content

Commit

Permalink
Update ROS1 CI to use ros-tooling actions. (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
JWhitleyWork authored Jun 1, 2023
1 parent 4dc95ac commit 29abd0e
Showing 1 changed file with 14 additions and 25 deletions.
39 changes: 14 additions & 25 deletions .github/workflows/basic-build-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,18 @@ jobs:
strategy:
fail-fast: false
container:
image: ros:noetic-perception
image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-desktop-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Create Workspace
run: |
mkdir src_tmp
mv `find -maxdepth 1 -not -name . -not -name src_tmp` src_tmp/
mv src_tmp/ src/
cd src
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
catkin_init_workspace'
- name: Install Prerequisites
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
apt-get update && rosdep update; \
rosdep install --from-paths src --ignore-src -y'
- name: Build Workspace
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
catkin_make'
- name: Run Tests
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
catkin_make run_tests; \
catkin_test_results --verbose'
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: noetic
- uses: ros-tooling/[email protected]
with:
package-name: |
velodyne
velodyne_driver
velodyne_laserscan
velodyne_msgs
velodyne_pcl
velodyne_pointcloud
target-ros1-distro: noetic

0 comments on commit 29abd0e

Please sign in to comment.