RHEL Rolling Semi-Binary Build #22
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 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 --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 |