Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 43a78fc

Browse files
authored
Merge pull request #53 from aws-robotics/script/build_and_test_release_latest
Add build and test release_latest workflow (generated by script)
2 parents bb587c7 + 2a2261e commit 43a78fc

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build & Test release-latest
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_release_latest:
14+
name: Build and Test Release Latest 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+
- run: sudo chown -R rosbuild:rosbuild "$HOME" .
34+
# Needed to access the vcs repos file from the workspace
35+
- name: Checkout source
36+
uses: actions/checkout@v2
37+
- uses: ros-tooling/[email protected]
38+
with:
39+
source-ros-binary-installation: ${{ matrix.ros_distro }}
40+
package-name: kinesis_video_streamer kinesis_video_msgs
41+
# schedule runs against the default branch (master), so specify release-latest via repos file
42+
vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/release_latest.repos"
43+
- uses: actions/upload-artifact@v1
44+
with:
45+
name: colcon-logs-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}
46+
path: ros_ws/log
47+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repositories:
2+
kinesisvideo-ros1:
3+
type: git
4+
url: https://github.com/aws-robotics/kinesisvideo-ros1
5+
version: release-latest

0 commit comments

Comments
 (0)