Skip to content

Commit 826b9ec

Browse files
Add downstream build
1 parent cb880f9 commit 826b9ec

5 files changed

+124
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Humble Downstream Build
2+
# description: 'Build & test downstream packages from source.'
3+
# author: Christoph Froehlich <[email protected]>
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
branches:
9+
- humble
10+
push:
11+
branches:
12+
- humble
13+
14+
concurrency:
15+
# cancel previous runs of the same workflow, except for pushes on humble branch
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
18+
19+
jobs:
20+
build-downstream:
21+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
22+
with:
23+
ros_distro: humble
24+
ros_repo: testing
25+
ref_for_scheduled_build: master
26+
not_test_build: true
27+
downstream_workspace: ros_controls.humble.repos
28+
not_test_downstream: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Rolling Downstream Build
2+
# description: 'Build & test downstream packages from source.'
3+
# author: Christoph Froehlich <[email protected]>
4+
5+
on:
6+
workflow_dispatch:
7+
pull_request:
8+
branches:
9+
- master
10+
push:
11+
branches:
12+
- master
13+
14+
concurrency:
15+
# cancel previous runs of the same workflow, except for pushes on master branch
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
18+
19+
jobs:
20+
build-downstream:
21+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
ROS_DISTRO: [jazzy, rolling]
26+
ROS_REPO: [testing]
27+
with:
28+
ros_distro: ${{ matrix.ROS_DISTRO }}
29+
ros_repo: ${{ matrix.ROS_REPO }}
30+
ref_for_scheduled_build: master
31+
not_test_build: true
32+
downstream_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
33+
not_test_downstream: true

ros_controls.humble.repos

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repositories:
2+
ros-controls/control_toolbox:
3+
type: git
4+
url: https://github.com/ros-controls/control_toolbox.git
5+
version: ros2-master
6+
ros-controls/control_msgs:
7+
type: git
8+
url: https://github.com/ros-controls/control_msgs.git
9+
version: humble
10+
ros-controls/realtime_tools:
11+
type: git
12+
url: https://github.com/ros-controls/realtime_tools.git
13+
version: master
14+
ros-controls/ros2_control:
15+
type: git
16+
url: https://github.com/ros-controls/ros2_control.git
17+
version: humble
18+
ros-controls/ros2_controllers:
19+
type: git
20+
url: https://github.com/ros-controls/ros2_controllers.git
21+
version: humble

ros_controls.jazzy.repos

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repositories:
2+
ros-controls/control_toolbox:
3+
type: git
4+
url: https://github.com/ros-controls/control_toolbox.git
5+
version: ros2-master
6+
ros-controls/control_msgs:
7+
type: git
8+
url: https://github.com/ros-controls/control_msgs.git
9+
version: master
10+
ros-controls/realtime_tools:
11+
type: git
12+
url: https://github.com/ros-controls/realtime_tools.git
13+
version: master
14+
ros-controls/ros2_control:
15+
type: git
16+
url: https://github.com/ros-controls/ros2_control.git
17+
version: master
18+
ros-controls/ros2_controllers:
19+
type: git
20+
url: https://github.com/ros-controls/ros2_controllers.git
21+
version: master

ros_controls.rolling.repos

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repositories:
2+
ros-controls/control_toolbox:
3+
type: git
4+
url: https://github.com/ros-controls/control_toolbox.git
5+
version: ros2-master
6+
ros-controls/control_msgs:
7+
type: git
8+
url: https://github.com/ros-controls/control_msgs.git
9+
version: master
10+
ros-controls/realtime_tools:
11+
type: git
12+
url: https://github.com/ros-controls/realtime_tools.git
13+
version: master
14+
ros-controls/ros2_control:
15+
type: git
16+
url: https://github.com/ros-controls/ros2_control.git
17+
version: master
18+
ros-controls/ros2_controllers:
19+
type: git
20+
url: https://github.com/ros-controls/ros2_controllers.git
21+
version: master

0 commit comments

Comments
 (0)