forked from MOCAP4ROS2-Project/mocap4ros2_optitrack
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.16 KB
/
main.yaml
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
name: main
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
humble-devel-ci:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ros_distribution:
- humble
include:
- docker_image: ubuntu:jammy
ros_distribution: humble
ros_version: 2
container:
image: ${{ matrix.docker_image }}
steps:
- name: Setup directories
run: mkdir -p ros_ws/src
- name: checkout
uses: actions/checkout@v3
with:
path: ros_ws/src
- name: Setup ROS environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Install requirements
run: pip3 install requests
- name: Build and Test
uses: ros-tooling/[email protected]
with:
package-name: mocap_optitrack_driver
target-ros2-distro: ${{ matrix.ros_distribution }}
vcs-repo-file-url: "https://raw.githubusercontent.com/MOCAP4ROS2-Project/mocap4ros2_optitrack/main/dependency_repos.repos"
skip-tests: true