From e8efea26ee348b5125d0f5ed600abe8ae9af87a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Sat, 27 Apr 2024 19:14:13 +0000 Subject: [PATCH] Add CI for harmonic --- .github/workflows/ci-humble.yml | 26 +++++++++++++++++++++++++- .github/workflows/ci-iron.yml | 26 +++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-humble.yml b/.github/workflows/ci-humble.yml index 5bc783c..92b52b7 100644 --- a/.github/workflows/ci-humble.yml +++ b/.github/workflows/ci-humble.yml @@ -43,7 +43,31 @@ jobs: sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - sudo apt-get update - sudo apt-get install -y libgz-sim7-dev + sudo apt-get install -y libgz-sim7-dev ros-humble-ros-gzgarden + - name: Run ROS CI + uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: humble + import-token: ${{ secrets.GITHUB_TOKEN }} + + harmonic_ci: + runs-on: ubuntu-22.04 + strategy: + matrix: + ROS_REPO: [testing, main] + env: + GZ_VERSION: harmonic + steps: + - name: Setup ROS environment + uses: ros-tooling/setup-ros@v0.7 + with: + use-ros2-testing: ${{ matrix.ROS_REPO == 'testing' }} + - name: Install Gazebo + run: | + sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' + wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - + sudo apt-get update + sudo apt-get install -y libgz-sim8-dev ros-humble-ros-gzharmonic - name: Run ROS CI uses: ros-tooling/action-ros-ci@v0.3 with: diff --git a/.github/workflows/ci-iron.yml b/.github/workflows/ci-iron.yml index eed5d83..232a6be 100644 --- a/.github/workflows/ci-iron.yml +++ b/.github/workflows/ci-iron.yml @@ -43,7 +43,31 @@ jobs: sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - sudo apt-get update - sudo apt-get install -y libgz-sim7-dev + sudo apt-get install -y libgz-sim7-dev ros-iron-ros-gzgarden + - name: Run ROS CI + uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: iron + import-token: ${{ secrets.GITHUB_TOKEN }} + + harmonic_ci: + runs-on: ubuntu-22.04 + strategy: + matrix: + ROS_REPO: [testing, main] + env: + GZ_VERSION: harmonic + steps: + - name: Setup ROS environment + uses: ros-tooling/setup-ros@v0.7 + with: + use-ros2-testing: ${{ matrix.ROS_REPO == 'testing' }} + - name: Install Gazebo + run: | + sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' + wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - + sudo apt-get update + sudo apt-get install -y libgz-sim8-dev ros-iron-ros-gzharmonic - name: Run ROS CI uses: ros-tooling/action-ros-ci@v0.3 with: