-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (41 loc) · 1.23 KB
/
agimus_controller.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
name: Ubuntu20.04, ROS2 Continuous Integration
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
package_name: [
"agimus_controller",
"agimus_controller_examples",
"agimus_controller_ros",
]
ros_version: ["humble"]
ubuntu_version: ["ubuntu-22.04"]
runs-on: ${{ matrix.ubuntu_version }}
steps:
#
# Checkout the current branch. Only used to get the deps.repos file.
# The last step here re-clone the repo at the right place.
#
- uses: actions/checkout@v4
#
# Use the .repos inside the cloned repository.
#
- run: |
cp ../${{ github.event.repository.name }}/dependencies.repos /tmp/deps.repos
#
# Setup the machines and build environment
#
- name: Install ROS.
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_version }}
#
# Build and test the repo
#
- uses: ros-tooling/[email protected]
with:
package-name: ${{ matrix.package_name }}
target-ros2-distro: ${{ matrix.ros_version }}
vcs-repo-file-url: /tmp/deps.repos