-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (40 loc) · 1.23 KB
/
colcon-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
name: colcon-build-test
on:
# Run this action whenever a pull request is made
pull_request:
workflow_dispatch:
jobs:
# Note that we pass each job a different name to distinguish each linter job
build:
runs-on: ubuntu-latest
strategy:
matrix:
ros_distribution:
- humble
include:
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros_distribution: humble
container:
image: ${{ matrix.docker_image }}
steps:
- name: Install Dependencies Manually
run: |
rosdep update
sudo apt-get update
sudo apt-get install -y libunwind-dev
rosdep install --from-path . -i -y --rosdistro ${{ matrix.ros_distribution }}
- name: Check out Repository
uses: actions/checkout@v3
- name: Setup
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: Build
uses: ros-tooling/[email protected]
with:
package-name: navyu
target-ros2-distro: humble
import-token: ${{ secrets.GITHUB_TOKEN }}
skip-tests: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}