-
Notifications
You must be signed in to change notification settings - Fork 650
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ROS1 CI to use ros-tooling actions. (#520)
- Loading branch information
1 parent
4dc95ac
commit 29abd0e
Showing
1 changed file
with
14 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |