From c99bd42a25829e3a5e75db5749f250ce65fecf19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Thu, 18 Jan 2024 15:59:33 +0100 Subject: [PATCH] [CI] RHEL workflows (backport #1302) (#1304) --- .../workflows/humble-rhel-binary-build.yml | 23 +++++++++--------- .github/workflows/iron-rhel-binary-build.yml | 24 +++++++++---------- .../workflows/rolling-rhel-binary-build.yml | 10 +++++--- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/.github/workflows/humble-rhel-binary-build.yml b/.github/workflows/humble-rhel-binary-build.yml index 0267849692..bb00625455 100644 --- a/.github/workflows/humble-rhel-binary-build.yml +++ b/.github/workflows/humble-rhel-binary-build.yml @@ -1,17 +1,15 @@ name: Humble RHEL Binary Build on: workflow_dispatch: + push: branches: - humble -# pull_request: -# branches: -# - humble -# push: -# branches: -# - humble -# schedule: -# # Run every day to detect flakiness and broken dependencies -# - cron: '03 1 * * *' + pull_request: + branches: + - humble + schedule: + # Run every day to detect flakiness and broken dependencies + - cron: '03 1 * * *' jobs: humble_rhel_binary: @@ -26,7 +24,8 @@ jobs: path: src/ros2_control - run: | rosdep update - rosdep install -iy --from-path src/ros2_control + rosdep install -iyr --from-path src/ros2_control || true source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash - colcon build - colcon test + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager ros2controlcli + colcon test-result diff --git a/.github/workflows/iron-rhel-binary-build.yml b/.github/workflows/iron-rhel-binary-build.yml index 9db28cf987..67d51b216c 100644 --- a/.github/workflows/iron-rhel-binary-build.yml +++ b/.github/workflows/iron-rhel-binary-build.yml @@ -1,17 +1,16 @@ name: Iron RHEL Binary Build on: workflow_dispatch: + push: branches: - iron -# pull_request: -# branches: -# - iron -# push: -# branches: -# - iron -# schedule: -# # Run every day to detect flakiness and broken dependencies -# - cron: '03 1 * * *' + pull_request: + branches: + - iron + schedule: + # Run every day to detect flakiness and broken dependencies + - cron: '03 1 * * *' + jobs: iron_rhel_binary: @@ -26,7 +25,8 @@ jobs: path: src/ros2_control - run: | rosdep update - rosdep install -iy --from-path src/ros2_control + rosdep install -iyr --from-path src/ros2_control || true source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash - colcon build - colcon test + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager ros2controlcli + colcon test-result diff --git a/.github/workflows/rolling-rhel-binary-build.yml b/.github/workflows/rolling-rhel-binary-build.yml index 0768fbfd68..4e1a9f49d9 100644 --- a/.github/workflows/rolling-rhel-binary-build.yml +++ b/.github/workflows/rolling-rhel-binary-build.yml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master schedule: # Run every day to detect flakiness and broken dependencies - cron: '03 1 * * *' @@ -22,7 +25,8 @@ jobs: path: src/ros2_control - run: | rosdep update - rosdep install -iy --from-path src/ros2_control + rosdep install -iyr --from-path src/ros2_control || true source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash - colcon build - colcon test + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager ros2controlcli + colcon test-result