forked from ros2/ros1_bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 879 Bytes
/
main.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
name: CI
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0" # every Sunday at midnight
workflow_dispatch:
jobs:
ros1_bridge:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ros1:
- distro: noetic
ros2:
- distro: foxy
#- distro: rolling
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: "${{matrix.ros1.distro}} ${{matrix.ros2.distro}}"
- id: custom_build_sequence
name: custom_build_sequence
run: |
sudo apt install ros-${{matrix.ros2.distro}}-ros1-bridge -y
- uses: ros-tooling/[email protected]
with:
package-name: ros1_bridge
target-ros1-distro: ${{matrix.ros1.distro}}
target-ros2-distro: ${{matrix.ros2.distro}}