1
1
name : Build & Test release-latest
2
2
on :
3
- pull_request :
4
- push :
5
- branches :
6
- - master
7
3
schedule :
8
4
# Run every hour. This helps detect flakiness,
9
5
# and broken external dependencies.
20
16
include :
21
17
- ros_distro : kinetic
22
18
ubuntu_distro : xenial
19
+ extra_cmake_args : --cmake-target tests
23
20
- ros_distro : melodic
24
21
ubuntu_distro : bionic
22
+ extra_cmake_args : --cmake-target tests
25
23
container :
26
24
image : rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}-ros-base-latest
27
25
env :
@@ -30,18 +28,21 @@ jobs:
30
28
ROS_VERSION : 1
31
29
steps :
32
30
# TODO(setup-ros-docker#7): calling chown is necessary for now
33
- - run : sudo chown -R rosbuild:rosbuild "$HOME" .
31
+ - name : Run setup-ros-docker workaround
32
+ run : sudo chown -R rosbuild:rosbuild "$HOME" .
34
33
# Needed to access the vcs repos file from the workspace
35
34
- name : Checkout source
36
35
uses : actions/checkout@v2
37
- -
uses :
ros-tooling/[email protected]
36
+ - name : Run action-ros-ci to build and test
37
+ uses :
ros-tooling/[email protected]
38
38
with :
39
39
source-ros-binary-installation : ${{ matrix.ros_distro }}
40
40
package-name : kinesis_video_streamer kinesis_video_msgs
41
+ extra-cmake-args : ${{ matrix.extra_cmake_args }}
41
42
# schedule runs against the default branch (master), so specify release-latest via repos file
42
43
vcs-repo-file-url : " ${{ github.workspace }}/.github/workflows/release_latest.repos"
43
- - uses : actions/upload-artifact@v1
44
+ - name : Upload resulting colcon logs
45
+ uses : actions/upload-artifact@v1
44
46
with :
45
47
name : colcon-logs-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}
46
48
path : ros_ws/log
47
-
0 commit comments