update submodule #79
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: ROS2 | |
on: | |
push: | |
branches: [ ros2 ] | |
pull_request: | |
branches: [ ros2 ] | |
# Based on example provided at https://github.com/ros-tooling/setup-ros | |
jobs: | |
# build: # Docker is not supported on macOS and Windows. | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# os: [macOS-latest, windows-latest] | |
# ros_distribution: | |
# - galactic | |
# steps: | |
# - uses: ros-tooling/[email protected] | |
# with: | |
# required-ros-distributions: ${{ matrix.ros_distribution }} | |
# - name: build and test | |
# uses: ros-tooling/[email protected] | |
# with: | |
# package-name: crazyswarm | |
# target-ros2-distro: ${{ matrix.ros_distribution }} | |
build_docker: # On Linux, use docker | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ros_distribution: | |
- humble | |
- iron | |
# Define the Docker image(s) associated with each ROS distribution. | |
include: | |
# Humble Hawksbill (May 2022 - May 2027) | |
- docker_image: ubuntu:jammy | |
ros_distribution: humble | |
ros_version: 2 | |
# Iron Irwini (May 2023 - Nov 2024) | |
- docker_image: ubuntu:jammy | |
ros_distribution: iron | |
ros_version: 2 | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- name: setup ROS environment | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: ${{ matrix.ros_distribution }} | |
# There is a bug in vcstools, where submodules are not pulled recursively | |
# See https://github.com/dirk-thomas/vcstool/issues/205 | |
# This is fixed in master, but not in the latest release | |
# Pull the latest version here | |
- name: install dependencies | |
run: | | |
sudo apt -y remove python3-vcstool | |
sudo pip3 install git+https://github.com/dirk-thomas/vcstool.git@7d1329f296cef4b767bf7ba0bf53a29dd3d3019c | |
vcs --version | |
- name: build and test ROS 2 | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: motion_capture_tracking | |
target-ros2-distro: ${{ matrix.ros_distribution }} |