RHEL Iron Semi-Binary Build #23
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
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 --rosdistro $ROS_DISTRO | |
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 |