-
Notifications
You must be signed in to change notification settings - Fork 53
/
action.yml
120 lines (120 loc) · 4.4 KB
/
action.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: "ROS 2 CI Action"
description: "Run ROS 2 package test in CI using Github Actions."
author: "ROS Tooling Working Group"
branding:
icon: "activity"
color: "gray-dark"
inputs:
colcon-defaults:
default: ""
description: |
Valid JSON content to use as a colcon defaults.yaml file.
Use a pipe to provide a multiline string.
See: https://colcon.readthedocs.io/en/released/user/configuration.html#defaults-yaml
required: false
colcon-mixin-repository:
default: "https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml"
description: "Mixin repository containing the mixin(s) specified through colcon-defaults or colcon-extra-args"
required: false
coverage-ignore-pattern:
default: ""
description: |
Ignore all files matching this pattern in the coverage report.
It will be injected in colcon-lcov-result --filter option.
Useful for ignoring tests or examples in the coverage report.
required: false
extra-cmake-args:
default: ""
description: |
Additional flags passed to CMake (using colcon build --cmake-args)
required: false
colcon-extra-args:
default: ""
description: |
Arbitrary space-separated additional flags to pass to colcon (build & test).
required: false
import-token:
default: ""
description: |
GitHub personal access token (PAT) to use to import the repository.
Useful if the repo is private.
The PAT should have the "repo" scope.
This currently only works for tokens for the GitHub server this action runs on.
required: false
package-name:
description: |
Limit the package(s) to be built and tested.
If left empty this will build and test everything in the workspace - including packages from vcs-repo-file-url imports.
Passing multiple package names is allowed.
Package names can be separated by any whitespace character.
required: false
default: ""
target-ros1-distro:
description: |
ROS 1 distribution to target for the build. Will be used both for
`rosdep install` and `source setup.bash`. Either or both of
`target-ros1-distro` and `target-ros2-distro`, but at least one must
be specified. Typically, both are specified when building packages
that rely on both ROS versions, such as the ros1_bridge.
required: false
target-ros2-distro:
description: |
ROS 2 distribution to target for the build. Will be used both for
`rosdep install` and `source setup.bash`. Either or both of
`target-ros1-distro` and `target-ros2-distro`, but at least one must
be specified. Typically, both are specified when building packages
that rely on both ROS versions, such as the ros1_bridge.
required: false
vcs-repo-file-url:
description: |
Repo file URL passed to vcs to initialize the colcon workspace.
The URL may point to a local file, such as file://path/to/file.txt.
For example, for ROS 2 Rolling source repositories, use:
https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
default: ""
skip-tests:
default: ""
description: |
Skip tests and code coverage data processing.
Set to 'true'.
required: false
skip-rosdep-install:
default: ""
description: |
Skip rosdep install.
Set to 'true'.
required: false
no-symlink-install:
default: ""
description: |
Do not use '--symlink-install' with 'colcon build'.
Set to 'true'.
required: false
rosdep-check:
default: ""
description: |
Check dependencies of packages using 'rosdep check'. Must be used with skip-rosdep-install.
Set to 'true'.
required: false
rosdep-skip-keys:
default: ""
description: |
Keys to be skipped when installing dependencies via rosdep.
Passing multiple keys is allowed.
Keys names can be separated by any whitespace character.
required: false
ref:
default: ""
description: |
Branch or reference to checkout via vcstool.
If unset will use the branch from where this action was triggered.
Scheduled events default to latest commit of default branch.
Set this if you want the scheduled job to run on on a specific branch.
required: false
outputs:
ros-workspace-directory-name:
description: |
root directory name of the ROS workspace created for this CI code.
runs:
using: "node20"
main: "dist/index.js"