-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add debian source build job (#1310)
(cherry picked from commit 2e0f841)
- Loading branch information
1 parent
2d31b1b
commit e00381b
Showing
3 changed files
with
87 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,27 @@ | ||
name: Debian Humble Build | ||
on: | ||
workflow_dispatch: | ||
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/christophfroehlich/ros:humble-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_control | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager | ||
colcon test --packages-skip rqt_controller_manager 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,30 @@ | ||
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/christophfroehlich/ros:iron-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_control | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager | ||
colcon test --packages-skip rqt_controller_manager 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,30 @@ | ||
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/christophfroehlich/ros:rolling-debian | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_control | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos | ||
colcon build --packages-skip rqt_controller_manager | ||
colcon test --packages-skip rqt_controller_manager | ||
colcon test-result --verbose |