Skip to content

Commit c89400e

Browse files
Disable strict timing by passing cmake args (#885)
1 parent 8026a71 commit c89400e

17 files changed

Lines changed: 32 additions & 0 deletions

.github/workflows/build_and_publish_debian_docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
matrix:
9393
ROS_DISTRO: [rolling, humble, jazzy, kilted]
9494
with:
95+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
9596
ros_distro: ${{ matrix.ROS_DISTRO }}
9697
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
9798
skip_packages_regex: '^mujoco_ros2_control.*$|^gz_ros2_control.*$|^ros2_control_demo_example_9$|^ros2_control_demos$|^ign_ros2_control.*$'

.github/workflows/build_and_publish_rhel_docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
matrix:
9393
ROS_DISTRO: [rolling, humble, jazzy, kilted, lyrical]
9494
with:
95+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
9596
ros_distro: ${{ matrix.ROS_DISTRO }}
9697
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
9798
skip_packages_regex: '^mujoco_ros2_control.*$|^gz_ros2_control.*$|^ros2_control_demo_example_9$|^ros2_control_demos$|^ign_ros2_control.*$'

.github/workflows/build_and_publish_ubuntu_docker.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
- ROS_DISTRO: rolling
115115
ROS_REPO: main
116116
with:
117+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
117118
ros_distro: ${{ matrix.ROS_DISTRO }}
118119
ros_repo: ${{ matrix.ROS_REPO }}
119120
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
@@ -130,6 +131,7 @@ jobs:
130131
ROS_DISTRO: [kilted, humble, jazzy, lyrical]
131132
ROS_REPO: [main, testing]
132133
with:
134+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
133135
ros_distro: ${{ matrix.ROS_DISTRO }}
134136
ros_repo: ${{ matrix.ROS_REPO }}
135137
target_workspace: ros_controls.rolling-on-${{ matrix.ROS_DISTRO }}.repos

.github/workflows/debian-stack-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
matrix:
4848
ROS_DISTRO: [humble, jazzy, kilted, lyrical, rolling]
4949
with:
50+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
5051
ros_distro: ${{ matrix.ROS_DISTRO }}
5152
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos
5253
skip_packages_regex: '^mujoco_ros2_control.*$|^gz_ros2_control.*$|^ros2_control_demo_example_9$|^ros2_control_demos$|^ign_ros2_control.*$'

.github/workflows/humble-binary-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
ROS_DISTRO: [humble]
5252
ROS_REPO: [main, testing]
5353
with:
54+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
5455
ros_distro: ${{ matrix.ROS_DISTRO }}
5556
ros_repo: ${{ matrix.ROS_REPO }}
5657
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos

.github/workflows/jazzy-binary-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
ROS_DISTRO: [jazzy]
5252
ROS_REPO: [main, testing]
5353
with:
54+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
5455
ros_distro: ${{ matrix.ROS_DISTRO }}
5556
ros_repo: ${{ matrix.ROS_REPO }}
5657
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos

.github/workflows/kilted-binary-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
ROS_DISTRO: [kilted]
5252
ROS_REPO: [main, testing]
5353
with:
54+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
5455
ros_distro: ${{ matrix.ROS_DISTRO }}
5556
ros_repo: ${{ matrix.ROS_REPO }}
5657
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos

.github/workflows/lyrical-binary-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
ROS_DISTRO: [lyrical]
5252
ROS_REPO: [main, testing]
5353
with:
54+
target_cmake_args: -DROS2_CONTROL_STRICT_TIMING_TESTS=OFF
5455
ros_distro: ${{ matrix.ROS_DISTRO }}
5556
ros_repo: ${{ matrix.ROS_REPO }}
5657
target_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos

.github/workflows/reusable-abi-check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
description: 'ROS_DISTRO variable for industrial_ci'
99
required: true
1010
type: string
11+
target_cmake_args:
12+
description: "Additional arguments to pass to CMake, e.g. -DBUILD_TESTING=OFF"
13+
default: ""
14+
required: false
15+
type: string
1116

1217

1318
jobs:
@@ -24,6 +29,7 @@ jobs:
2429
ABICHECK_URL: github:${{ github.repository }}#${{ github.base_ref }}
2530
NOT_TEST_BUILD: true
2631
BASEDIR: ${{ github.workspace }}/.work
32+
CMAKE_ARGS: ${{ inputs.target_cmake_args }}
2733
- uses: actions/upload-artifact@v7
2834
if: always()
2935
with:

.github/workflows/reusable-build-coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: 'Add debug output'
1111
type: boolean
1212
default: false
13+
target_cmake_args:
14+
description: 'Additional CMake flags passed during build'
15+
type: string
16+
default: ''
1317

1418
jobs:
1519
coverage:
@@ -104,6 +108,7 @@ jobs:
104108
}
105109
}
106110
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
111+
extra-cmake-args: ${{ inputs.target_cmake_args }}
107112
- name: Test coverage tools
108113
if: ${{ inputs.debug }}
109114
run: |

0 commit comments

Comments
 (0)