-
Notifications
You must be signed in to change notification settings - Fork 65
34 lines (32 loc) · 952 Bytes
/
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
name: Build and test
on: [push, pull_request]
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- docker-image: "ubuntu:20.04"
ignition-version: "fortress"
ros-distro: "rolling"
container:
image: ${{ matrix.docker-image }}
steps:
- name: Checkout dolly
uses: actions/checkout@v2
with:
path: main
# Compiling ros_ign from source because Rolling isn't using Fortress yet
- name: Checkout ros_ign
uses: actions/checkout@v2
with:
repository: ignitionrobotics/ros_ign
ref: ros2
path: ros_ign
- name: Build and test
run: main/.github/workflows/build-and-test.sh
env:
DOCKER_IMAGE: ${{ matrix.docker-image }}
IGNITION_VERSION: ${{ matrix.ignition-version }}
ROS_DISTRO: ${{ matrix.ros-distro }}