Skip to content
name: ROS 2 Humble Colcon Build and Test with Docker
on:
pull_request:
branches:
- '*'
jobs:
build:
name: Build and Test ROS 2 Workspace
runs-on: ubuntu-22.04
container:
image: csmmaterobotics/rov:amd64
options: --platform linux/amd64
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up ROS 2 Environment and Colcon Build
run: |
source /opt/ros/humble/setup.bash && PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources colcon build --packages-up-to rov_launch
shell: bash
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: log