Skip to content

Commit

Permalink
[CI] Add jazzy and other minor updates (#1114)
Browse files Browse the repository at this point in the history
* Add file type filters

* Add jazzy workflows and readme

* Check docs on correct branch

* Specify workflow names

* Run auto-update only once per month

* Update upstream pre-commit wf

---------

Co-authored-by: Felix Exner (fexner) <[email protected]>
  • Loading branch information
christophfroehlich and fmauch authored May 8, 2024
1 parent 2a59f60 commit 4ae8daf
Show file tree
Hide file tree
Showing 40 changed files with 628 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/humble-abi-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-abi-compatibility.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.humble.repos'

jobs:
abi_check:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/humble-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,27 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.humble.repos'
push:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/humble-check-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Humble Check Docs

on:
workflow_dispatch:
pull_request:
branches:
- humble
paths:
- '**.rst'
- '**.md'
- '**.yaml'

jobs:
check-docs:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@humble
with:
ROS2_CONTROLLERS_PR: ${{ github.ref }}
21 changes: 20 additions & 1 deletion .github/workflows/humble-coverage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,33 @@ on:
push:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-coverage-build.yml'
- 'codecov.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-coverage-build.yml'
- 'codecov.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'

jobs:
coverage_humble:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
secrets: inherit
with:
ros_distro: humble
os_name: ubuntu-22.04
9 changes: 9 additions & 0 deletions .github/workflows/humble-debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-debian-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/humble-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ jobs:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
with:
ros_distro: humble
os_name: ubuntu-22.04
9 changes: 9 additions & 0 deletions .github/workflows/humble-rhel-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-rhel-semi-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/humble-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,27 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-semi-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
push:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-semi-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/humble-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on:
push:
branches:
- humble
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/humble-source-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.humble.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 3 * * *'
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/iron-abi-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/iron-abi-compatibility.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.iron.repos'

jobs:
abi_check:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/iron-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,27 @@ on:
- iron
- '*feature*'
- '*feature/**'
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/iron-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '.github/workflows/iron-binary-build.yml'
- '**.yaml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.iron.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/iron-check-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Iron Check Docs

on:
workflow_dispatch:
pull_request:
branches:
- iron
paths:
- '**.rst'
- '**.md'
- '**.yaml'

jobs:
check-docs:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@iron
with:
ROS2_CONTROLLERS_PR: ${{ github.ref }}
21 changes: 20 additions & 1 deletion .github/workflows/iron-coverage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,33 @@ on:
push:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-coverage-build.yml'
- 'codecov.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-coverage-build.yml'
- 'codecov.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'

jobs:
coverage_iron:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
secrets: inherit
with:
ros_distro: iron
os_name: ubuntu-22.04
9 changes: 9 additions & 0 deletions .github/workflows/iron-debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-debian-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/iron-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ jobs:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
with:
ros_distro: iron
os_name: ubuntu-22.04
9 changes: 9 additions & 0 deletions .github/workflows/iron-rhel-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-rhel-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/iron-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,27 @@ on:
- iron
- '*feature*'
- '*feature/**'
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/iron-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
push:
branches:
- iron
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/iron-source-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.iron.repos'
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 3 * * *'
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/jazzy-abi-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Jazzy - ABI Compatibility Check
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.yaml'
- '.github/workflows/jazzy-abi-compatibility.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers-not-released.jazzy.repos'

jobs:
abi_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ros-industrial/industrial_ci@master
env:
ROS_DISTRO: jazzy
ROS_REPO: testing
ABICHECK_URL: github:${{ github.repository }}#${{ github.base_ref }}
NOT_TEST_BUILD: true
Loading

0 comments on commit 4ae8daf

Please sign in to comment.