-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (36 loc) · 1.03 KB
/
ros2-ci.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
name: ROS2 CI
on: [push, pull_request]
jobs:
ros_gz_ci:
name: ros_gz CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- docker-image: "ubuntu:22.04"
gz-version: "fortress"
ros-distro: "iron"
- docker-image: "ubuntu:22.04"
gz-version: "garden"
ros-distro: "iron"
- docker-image: "ubuntu:22.04"
gz-version: "harmonic"
ros-distro: "iron"
container:
image: ${{ matrix.docker-image }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Test
run: .github/workflows/build-and-test.sh
env:
DOCKER_IMAGE: ${{ matrix.docker-image }}
GZ_VERSION: ${{ matrix.gz-version }}
ROS_DISTRO: ${{ matrix.ros-distro }}
- name: Build sdformat_urdf from source
uses: actions/checkout@v2
if: ${{ matrix.gz-version }} == "garden"
with:
repository: ros/sdformat_urdf
ref: ros2