Skip to content

Commit

Permalink
Add CI for harmonic
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Apr 27, 2024
1 parent e97468e commit e8efea2
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/ci-humble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 25 additions & 1 deletion .github/workflows/ci-iron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e8efea2

Please sign in to comment.