-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (51 loc) · 1.4 KB
/
humble.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
45
46
47
48
49
50
51
52
53
name: ROS 2 Humble
on:
push:
branches:
- humble
pull_request:
branches:
- "*"
jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
container:
image: ros:humble-ros-base-jammy
steps:
- name: Setup ROS
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: Checkout
uses: actions/checkout@v4
- name: Build and Test
id: ros-build
uses: ros-tooling/[email protected]
with:
package-name: |
auto_apms_util
auto_apms_behavior_tree_core
auto_apms_behavior_tree
auto_apms_px4
auto_apms_mission
auto_apms_simulation
auto_apms_examples
import-token: ${{ secrets.GITHUB_TOKEN }}
target-ros2-distro: humble
vcs-repo-file-url: ${GITHUB_WORKSPACE}/dependencies.repos
no-symlink-install: true
colcon-defaults: |
{
"test": {
"ctest-args": [
"-R", "auto_apms_\\S*_unit_tests"
]
}
}
- name: Upload logs
uses: actions/upload-artifact@v4
with:
name: colcon-logs
path: ${{ steps.ros-build.outputs.ros-workspace-directory-name }}/log
if: always() # upload the logs even when the build fails