Merge #1479
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 CI | |
on: [push, pull_request] | |
jobs: | |
ros_gz_ci: | |
name: ros_gz CI | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- docker-image: "ubuntu:22.04" | |
gz-version: "garden" | |
ros-distro: "rolling" | |
- docker-image: "ubuntu:22.04" | |
gz-version: "harmonic" | |
ros-distro: "rolling" | |
container: | |
image: ${{ matrix.docker-image }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and Test | |
run: .github/workflows/build-and-test.sh | |
env: | |
DOCKER_IMAGE: ${{ matrix.docker-image }} | |
GZ_VERSION: ${{ matrix.gz-version }} | |
ROS_DISTRO: ${{ matrix.ros-distro }} | |
ROSDISTRO_INDEX_URL: https://raw.githubusercontent.com/ros/rosdistro/rolling/2024-02-28/index-v4.yaml # Temporarily pin rosdep to fix rolling on Jammy | |
- name: Build sdformat_urdf from source | |
uses: actions/checkout@v4 | |
if: ${{ matrix.gz-version }} == "garden" | |
with: | |
repository: ros/sdformat_urdf | |
ref: ros2 |