Skip to content

Add CI for harmonic

Add CI for harmonic #4

Workflow file for this run

name: CI-Iron
on:
workflow_dispatch:
push:
branches:
- iron
pull_request:
branches:
- iron
jobs:
fortress_ci:
runs-on: ubuntu-22.04
strategy:
matrix:
ROS_REPO: [testing, main]
steps:
- name: Setup ROS environment
uses: ros-tooling/setup-ros@v0.7
with:
use-ros2-testing: ${{ matrix.ROS_REPO == 'testing' }}
- name: Run ROS CI
uses: ros-tooling/action-ros-ci@v0.3
with:
target-ros2-distro: iron
import-token: ${{ secrets.GITHUB_TOKEN }}
garden_ci:
runs-on: ubuntu-22.04
strategy:
matrix:
ROS_REPO: [testing, main]
env:
GZ_VERSION: garden
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-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:
target-ros2-distro: iron
import-token: ${{ secrets.GITHUB_TOKEN }}