This repository was archived by the owner on Feb 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +54
-8
lines changed Expand file tree Collapse file tree 2 files changed +54
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Build & Test
2
+ on :
3
+ pull_request :
4
+ push :
5
+ branches :
6
+ - master
7
+ schedule :
8
+ # Run every hour. This helps detect flakiness,
9
+ # and broken external dependencies.
10
+ - cron : ' 0 * * * *'
11
+
12
+ jobs :
13
+ build_and_test_master :
14
+ name : Build and Test Master ROS ${{ matrix.ros_version }} ${{ matrix.ros_distro }}
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ ros_distro : [kinetic, melodic]
20
+ include :
21
+ - ros_distro : kinetic
22
+ ubuntu_distro : xenial
23
+ - ros_distro : melodic
24
+ ubuntu_distro : bionic
25
+ container :
26
+ image : rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}-ros-base-latest
27
+ env :
28
+ # Needed for the CMakeLists.txt setup
29
+ ROS_DISTRO : ${{ matrix.ros_distro }}
30
+ ROS_VERSION : 1
31
+ steps :
32
+ # TODO(setup-ros-docker#7): calling chown is necessary for now
33
+ - name : Run setup-ros-docker workaround
34
+ run : sudo chown -R rosbuild:rosbuild "$HOME" .
35
+ # Needed to access the vcs repos file from the workspace
36
+ - name : Checkout source
37
+ uses : actions/checkout@v2
38
+ - name : Run action-ros-ci to build and test
39
+ uses :
ros-tooling/[email protected]
40
+ with :
41
+ source-ros-binary-installation : ${{ matrix.ros_distro }}
42
+ package-name : kinesis_video_streamer kinesis_video_msgs
43
+ vcs-repo-file-url : ' '
44
+ - name : Upload resulting colcon logs
45
+ uses : actions/upload-artifact@v1
46
+ with :
47
+ name : colcon-logs-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}
48
+ path : ros_ws/log
Original file line number Diff line number Diff line change 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.
@@ -30,18 +26,20 @@ jobs:
30
26
ROS_VERSION : 1
31
27
steps :
32
28
# TODO(setup-ros-docker#7): calling chown is necessary for now
33
- - run : sudo chown -R rosbuild:rosbuild "$HOME" .
29
+ - name : Run setup-ros-docker workaround
30
+ run : sudo chown -R rosbuild:rosbuild "$HOME" .
34
31
# Needed to access the vcs repos file from the workspace
35
32
- name : Checkout source
36
33
uses : actions/checkout@v2
37
- -
uses :
ros-tooling/[email protected]
34
+ - name : Run action-ros-ci to build and test
35
+ uses :
ros-tooling/[email protected]
38
36
with :
39
37
source-ros-binary-installation : ${{ matrix.ros_distro }}
40
38
package-name : kinesis_video_streamer kinesis_video_msgs
41
39
# schedule runs against the default branch (master), so specify release-latest via repos file
42
40
vcs-repo-file-url : " ${{ github.workspace }}/.github/workflows/release_latest.repos"
43
- - uses : actions/upload-artifact@v1
41
+ - name : Upload resulting colcon logs
42
+ uses : actions/upload-artifact@v1
44
43
with :
45
44
name : colcon-logs-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}
46
45
path : ros_ws/log
47
-
You can’t perform that action at this time.
0 commit comments