-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add RHEL and debian jobs (#172)
- Loading branch information
1 parent
ae7102b
commit 32c5983
Showing
6 changed files
with
190 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,30 @@ | ||
name: Debian Humble Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 5 * * *' | ||
|
||
|
||
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/control_toolbox | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/control_toolbox/control_toolbox.${{ env.ROS_DISTRO }}.repos | ||
colcon build | ||
colcon test --packages-skip control_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,32 @@ | ||
name: RHEL Humble Binary Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 3 * * *' | ||
|
||
jobs: | ||
humble_rhel_binary: | ||
name: Humble RHEL binary build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: humble | ||
container: ghcr.io/ros-controls/ros:humble-rhel | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/control_toolbox | ||
- name: Install dependencies | ||
run: | | ||
rosdep update | ||
rosdep install -iyr --from-path src/control_toolbox || true | ||
- name: Build and test | ||
run: | | ||
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash | ||
source /opt/ros2_ws/install/setup.bash | ||
colcon build | ||
colcon test | ||
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: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 5 * * *' | ||
|
||
|
||
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/control_toolbox | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/control_toolbox/control_toolbox.${{ env.ROS_DISTRO }}.repos | ||
colcon build | ||
colcon test --packages-skip control_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,34 @@ | ||
name: RHEL Iron Binary Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 3 * * *' | ||
|
||
|
||
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/control_toolbox | ||
- name: Install dependencies | ||
run: | | ||
rosdep update | ||
rosdep install -iyr --from-path src/control_toolbox || 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 | ||
colcon test | ||
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: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 5 * * *' | ||
|
||
|
||
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/control_toolbox | ||
- name: Build and test | ||
shell: bash | ||
run: | | ||
source /opt/ros2_ws/install/setup.bash | ||
vcs import src < src/control_toolbox/control_toolbox.${{ env.ROS_DISTRO }}.repos | ||
colcon build | ||
colcon test | ||
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,34 @@ | ||
name: RHEL Rolling Binary Build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- ros2-master | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 3 * * *' | ||
|
||
|
||
jobs: | ||
rolling_rhel_binary: | ||
name: Rolling RHEL binary build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: rolling | ||
container: ghcr.io/ros-controls/ros:rolling-rhel | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/control_toolbox | ||
- name: Install dependencies | ||
run: | | ||
rosdep update | ||
rosdep install -iyr --from-path src/control_toolbox || 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 | ||
colcon test | ||
colcon test-result --verbose |