-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct ref for scheduled workflows (#1013)
(cherry picked from commit 737a45b) # Conflicts: # .github/workflows/humble-debian-build.yml # .github/workflows/humble-rhel-binary-build.yml # .github/workflows/iron-debian-build.yml # .github/workflows/iron-rhel-binary-build.yml # .github/workflows/rolling-debian-build.yml # .github/workflows/rolling-rhel-binary-build.yml
- Loading branch information
1 parent
726b179
commit 3eaf158
Showing
6 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Debian Humble Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- humble | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 1 * * *' | ||
|
||
|
||
jobs: | ||
humble_debian: | ||
name: Humble debian build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: humble | ||
container: ghcr.io/ros-controls/ros:humble-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_controllers | ||
ref: ${{ github.event_name == 'schedule' && 'humble' || '' }} | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_controllers/ros2_controllers.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager rqt_joint_trajectory_controller | ||
colcon test --packages-skip rqt_controller_manager rqt_joint_trajectory_controller control_msgs controller_manager_msgs | ||
colcon test-result --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Debian Iron Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- iron | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 1 * * *' | ||
|
||
|
||
jobs: | ||
iron_debian: | ||
name: Iron debian build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: iron | ||
container: ghcr.io/ros-controls/ros:iron-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_controllers | ||
ref: ${{ github.event_name == 'schedule' && 'iron' || '' }} | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_controllers/ros2_controllers.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager rqt_joint_trajectory_controller | ||
colcon test --packages-skip rqt_controller_manager rqt_joint_trajectory_controller control_msgs controller_manager_msgs | ||
colcon test-result --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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_controllers | ||
ref: ${{ github.event_name == 'schedule' && 'iron' || '' }} | ||
- name: Install dependencies | ||
run: | | ||
rosdep update | ||
rosdep install -iyr --from-path src/ros2_controllers || true | ||
- name: Build and test | ||
# source also underlay workspace with generate_parameter_library on rhel9 | ||
run: | | ||
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash | ||
source /opt/ros2_ws/install/setup.bash | ||
colcon build --packages-skip rqt_joint_trajectory_controller | ||
colcon test --packages-skip rqt_joint_trajectory_controller | ||
colcon test-result --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Debian Rolling Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 1 * * *' | ||
|
||
|
||
jobs: | ||
rolling_debian: | ||
name: Rolling debian build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: rolling | ||
container: ghcr.io/ros-controls/ros:rolling-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_controllers | ||
# default behavior is correct on master branch | ||
# ref: ${{ github.event_name == 'schedule' && 'master' || '' }} | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_controllers/ros2_controllers.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager rqt_joint_trajectory_controller | ||
colcon test --packages-skip rqt_controller_manager rqt_joint_trajectory_controller | ||
colcon test-result --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters