-
Notifications
You must be signed in to change notification settings - Fork 14
60 lines (53 loc) · 1.48 KB
/
build.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
# This is workflow to build parameter server in ros docker images
name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# each job goes for each ros supported distribution.
# each job description absorb the distribution dependency as much as possible,
# so that build verification script can be agnostic from distribution dependency.
rolling-build:
runs-on: ubuntu-latest
container:
image: ros:rolling
env:
ROS_DISTRO: rolling
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS rolling
shell: bash
run: |
./scripts/build-verification.sh
iron-build:
runs-on: ubuntu-latest
container:
image: ros:iron
env:
ROS_DISTRO: iron
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS iron
shell: bash
run: |
./scripts/build-verification.sh
humble-build:
runs-on: ubuntu-latest
container:
image: ros:humble
env:
ROS_DISTRO: humble
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS humble
shell: bash
run: |
./scripts/build-verification.sh