-
Notifications
You must be signed in to change notification settings - Fork 5
75 lines (71 loc) · 2.24 KB
/
ci-iron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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 }}