Skip to content

Commit

Permalink
[CI] Specify runner/container images and add Jazzy jobs (#200)
Browse files Browse the repository at this point in the history
* Specify runner/container images

* Add jazzy jobs

* Add ABI compatibility check

* Add jazzy repos files

* Update upstream pre-commit wf

* Update coverage build inputs
  • Loading branch information
christophfroehlich authored May 8, 2024
1 parent 3171adb commit 62d81cd
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/abi-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ABI Compatibility Check
on:
workflow_dispatch:
pull_request:
branches:
- ros2-master

jobs:
abi_check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
steps:
- uses: actions/checkout@v4
- uses: ros-industrial/industrial_ci@master
env:
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
ROS_REPO: main
ABICHECK_URL: github:${{ github.repository }}#${{ github.base_ref }}
NOT_TEST_BUILD: true
2 changes: 1 addition & 1 deletion .github/workflows/build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, iron, humble]
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_REPO: [main, testing]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/build-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,22 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, iron, humble]
include:
- ROS_DISTRO: humble
CONTAINER: ""
OS_NAME: ubuntu-22.04
- ROS_DISTRO: iron
CONTAINER: ""
OS_NAME: ubuntu-22.04
- ROS_DISTRO: jazzy
CONTAINER: ubuntu:24.04
OS_NAME: ubuntu-latest
- ROS_DISTRO: rolling
CONTAINER: ubuntu:24.04
OS_NAME: ubuntu-latest
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
ref: ros2-master
ros2_repo_branch: ${{ matrix.ROS_DISTRO }}
os_name: ${{ matrix.OS_NAME }}
container: ${{ matrix.CONTAINER }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, iron, humble]
ROS_DISTRO: [humble, iron, jazzy, rolling]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
2 changes: 1 addition & 1 deletion .github/workflows/debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, iron, humble]
ROS_DISTRO: [rolling, jazzy, iron, humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: control_toolbox.${{ matrix.ROS_DISTRO }}.repos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhel-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, iron, humble]
ROS_DISTRO: [rolling, jazzy, iron, humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: control_toolbox.${{ matrix.ROS_DISTRO }}.repos
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ See the documentation of [ros2_control](http://control.ros.org) and release info
ROS2 Distro | Branch | Build status | Documentation | Released packages
:---------: | :----: | :----------: | :-----------: | :---------------:
**Rolling** | [`master`](https://github.com/ros-controls/control_toolbox/tree/master) | [![Binary Build](https://github.com/ros-controls/control_toolbox/actions/workflows/build-binary.yml/badge.svg?branch=ros2-master)](https://github.com/ros-controls/control_toolbox/actions/workflows/build-binary.yml?branch=ros2-master) <br /> [![Rolling Source Build](https://github.com/ros-controls/control_toolbox/actions/workflows/build-source.yml/badge.svg?branch=ros2-master)](https://github.com/ros-controls/control_toolbox/actions/workflows/build-source.yml?branch=ros2-master) | [API](http://docs.ros.org/en/rolling/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#rolling)
**Jazzy** | [`master`](https://github.com/ros-controls/control_toolbox/tree/master) | see above | [API](http://docs.ros.org/en/jazzy/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#jazzy)
**Iron** | [`master`](https://github.com/ros-controls/control_toolbox/tree/master) | see above | [API](http://docs.ros.org/en/iron/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#iron)
**Humble** | [`master`](https://github.com/ros-controls/control_toolbox/tree/master) | see above | [API](http://docs.ros.org/en/humble/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#humble)

Expand Down
6 changes: 6 additions & 0 deletions control_toolbox-not-released.jazzy.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repositories:
## EXAMPLE DEPENDENCY
# <some_ros_package>:
# type: git
# url: [email protected]:<some_github_namespace>/<some_ros_package>.git
# version: master
9 changes: 9 additions & 0 deletions control_toolbox.jazzy.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repositories:
control_msgs:
type: git
url: https://github.com/ros-controls/control_msgs.git
version: master
realtime_tools:
type: git
url: https://github.com/ros-controls/realtime_tools
version: master

0 comments on commit 62d81cd

Please sign in to comment.