Skip to content

Commit

Permalink
ci: use ros-tooling action
Browse files Browse the repository at this point in the history
  • Loading branch information
xqms committed Feb 19, 2024
1 parent 342c002 commit c1930a4
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,12 @@ defaults:
shell: bash

jobs:
build:
build_and_test_ubuntu:
runs-on: ubuntu-latest
container:
image: osrf/ros:noetic-desktop-focal
image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-ros-base-latest
steps:
- uses: actions/checkout@v3
with:
path: 'src/rosbag_fancy'
- name: Install dependencies
run: 'apt-get update && rosdep update && rosdep install --from-path src --ignore-src -y && apt-get install -y python3-catkin-tools'
- name: Compile
run: '. /opt/ros/noetic/setup.bash && catkin build --cmake-args -DCMAKE_BUILD_TYPE=Debug'
- name: Inspect
run: 'find devel/'
- name: Inspect 2
run: '. devel/setup.bash && set'
- name: Test
run: '. devel/setup.bash && rosrun rosbag_fancy rosbag_fancy test'
- uses: ros-tooling/[email protected]
with:
package-name: rosfmt
target-ros1-distro: noetic

0 comments on commit c1930a4

Please sign in to comment.