Debian Humble Source Build #32
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: 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 | |
skip-packages-build: rqt_controller_manager | |
skip-packages-test: rqt_controller_manager controller_manager_msgs | |
container: ghcr.io/ros-controls/ros:humble-debian | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: src/ros2_control | |
ref: ${{ github.event_name == 'schedule' && 'humble' || '' }} | |
- name: Build workspace | |
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-up-to $(colcon list --paths src/ros2_control/* --names-only) --packages-skip ${{ env.skip-packages-build }} | |
- name: Test workspace | |
shell: bash | |
continue-on-error: true | |
run: | | |
source /opt/ros2_ws/install/setup.bash | |
colcon test --packages-select $(colcon list --paths src/ros2_control/* --names-only) --packages-skip ${{ env.skip-packages-test }} | |
colcon test-result --verbose |