Skip to content

Commit

Permalink
[RHEL-CI] Rename workflow and don't run on push (#1326)
Browse files Browse the repository at this point in the history
(cherry picked from commit fd2cc4e)

# Conflicts:
#	.github/workflows/humble-rhel-binary-build.yml
#	.github/workflows/iron-rhel-binary-build.yml
#	.github/workflows/rolling-rhel-binary-build.yml
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Jan 23, 2024
1 parent 2d31b1b commit 8c7075f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 10 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/humble-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Humble RHEL Binary Build
name: RHEL Humble Binary Build
on:
workflow_dispatch:
push:
branches:
- humble
pull_request:
branches:
- humble
Expand All @@ -22,9 +19,20 @@ jobs:
- uses: actions/checkout@v4
with:
path: src/ros2_control
- run: |
- name: Install dependencies
run: |
rosdep update
<<<<<<< HEAD
rosdep install -iy --from-path src/ros2_control
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build
colcon test
=======
rosdep install -iyr --from-path src/ros2_control || true
- name: Build and test
run: |
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager ros2controlcli
colcon test-result --verbose
>>>>>>> fd2cc4e ([RHEL-CI] Rename workflow and don't run on push (#1326))
32 changes: 32 additions & 0 deletions .github/workflows/iron-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: RHEL Iron Binary Build
on:
workflow_dispatch:
pull_request:
branches:
- iron
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'


jobs:
iron_rhel_binary:
name: Iron RHEL binary build
runs-on: ubuntu-latest
env:
ROS_DISTRO: iron
container: ghcr.io/ros-controls/ros:iron-rhel
steps:
- uses: actions/checkout@v4
with:
path: src/ros2_control
- name: Install dependencies
run: |
rosdep update
rosdep install -iyr --from-path src/ros2_control || true
- name: Build and test
run: |
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager ros2controlcli
colcon test-result --verbose
18 changes: 13 additions & 5 deletions .github/workflows/rolling-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Rolling RHEL Binary Build
name: RHEL Rolling Binary Build
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
Expand All @@ -23,9 +20,20 @@ jobs:
- uses: actions/checkout@v4
with:
path: src/ros2_control
- run: |
- name: Install dependencies
run: |
rosdep update
<<<<<<< HEAD
rosdep install -iy --from-path src/ros2_control
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build
colcon test
=======
rosdep install -iyr --from-path src/ros2_control || true
- name: Build and test
run: |
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build --packages-skip rqt_controller_manager
colcon test --packages-skip rqt_controller_manager ros2controlcli
colcon test-result --verbose
>>>>>>> fd2cc4e ([RHEL-CI] Rename workflow and don't run on push (#1326))

0 comments on commit 8c7075f

Please sign in to comment.