From c4bfb29c473616635e0b184e2ee3fb85d429d2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 24 Jan 2024 10:32:46 +0100 Subject: [PATCH] CI use main and testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- .github/workflows/ci-humble.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-humble.yaml b/.github/workflows/ci-humble.yaml index 80677085..4ef267b3 100644 --- a/.github/workflows/ci-humble.yaml +++ b/.github/workflows/ci-humble.yaml @@ -11,9 +11,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: [fortress] + include: + - version: fortress + ros-repo-packages: "" + - version: fortress + ros-repo-packages: "-testing" env: IGNITION_VERSION: ${{ matrix.version }} + ROS_REPO_PACKAGES: ${{ matrix.ros-repo-packages }} container: image: ubuntu:22.04 steps: @@ -27,7 +32,7 @@ jobs: cd .. mkdir -p /home/ros2_ws/src cp -r gz_ros2_control /home/ros2_ws/src/ - sh -c 'echo "deb http://packages.ros.org/ros2-testing/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-testing.list' + sh -c 'echo "deb http://packages.ros.org/ros2$ROS_REPO_PACKAGES/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-testing.list' curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - apt-get update && apt-get upgrade -q -y apt-get update && apt-get install -qq -y \