Skip to content

Keep rolling on Jammy and apply a temporary fix for rosdep #1470

Keep rolling on Jammy and apply a temporary fix for rosdep

Keep rolling on Jammy and apply a temporary fix for rosdep #1470

Workflow file for this run

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