Feature/mw/fields2cover2 #75
Workflow file for this run
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
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
env: | |
ROS_DISTRO: ${{ matrix.ros_distro }} | |
RMW_IMPLEMENTATION: rmw_cyclonedds_cpp | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distro: [rolling] | |
steps: | |
- name: apt update | |
run: sudo apt update | |
- name: Install nodejs | |
run: sudo apt install nodejs -y | |
- uses: actions/checkout@v2 | |
- name: Install Cyclone DDS | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp -y | |
- name: Install geometry_msgs | |
run: sudo apt install ros-${{ matrix.ros_distro }}-geometry-msgs -y | |
- name: Install nav_msgs | |
run: sudo apt install ros-${{ matrix.ros_distro }}-nav-msgs -y | |
- name: Install rosidl-default-generators | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rosidl-default-generators -y | |
- name: Install geographic_msgs | |
run: sudo apt install ros-${{ matrix.ros_distro }}-geographic-msgs -y | |
- name: Install bondcpp | |
run: sudo apt install ros-${{ matrix.ros_distro }}-bondcpp -y | |
- name: Install angles | |
run: sudo apt install ros-${{ matrix.ros_distro }}-angles -y | |
- name: Install test_msgs | |
run: sudo apt install ros-${{ matrix.ros_distro }}-test-msgs -y | |
- name: Install behaviortree_cpp | |
run: sudo apt install ros-${{ matrix.ros_distro }}-behaviortree-cpp -y | |
- name: Install diagnostic_updater | |
run: sudo apt install ros-${{ matrix.ros_distro }}-diagnostic-updater -y | |
- name: Install rviz_common | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rviz-common -y | |
- name: Install rviz_default_plugins | |
run: sudo apt install ros-${{ matrix.ros_distro }}-rviz-default-plugins -y | |
- name: Install ompl | |
run: sudo apt install ros-${{ matrix.ros_distro }}-ompl -y | |
- name: Install laser_geometry | |
run: sudo apt install ros-${{ matrix.ros_distro }}-laser_geometry -y | |
- name: Install cv_bridge | |
run: sudo apt install ros-${{ matrix.ros_distro }}-cv-bridge -y | |
- name: Install gazebo_ros_pkgs | |
run: sudo apt install ros-${{ matrix.ros_distro }}-gazebo-ros-pkgs -y | |
- name: Build and run tests | |
id: action-ros-ci | |
uses: ros-tooling/[email protected] | |
with: | |
import-token: ${{ secrets.GITHUB_TOKEN }} | |
target-ros2-distro: ${{ matrix.ros_distro }} | |
vcs-repo-file-url: "${{ github.workspace }}/.github/deps.repos" | |
rosdep-check: true | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: colcon-logs | |
path: ros_ws/log |