Skip to content

Update the github workflow to build on all supported platforms. #236

Update the github workflow to build on all supported platforms.

Update the github workflow to build on all supported platforms. #236

Workflow file for this run

name: Basic Build Workflow
on:
- pull_request
- push
jobs:
build-ros2-latest:
runs-on: ubuntu-22.04
strategy:
matrix:
image:
- rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
- rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
- rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
- rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros-version:
- humble
- iron
- jazzy
- rolling
exclude:
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros-version: iron
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros-version: jazzy
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros-version: rolling
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
ros-version: humble
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
ros-version: jazzy
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
ros-version: rolling
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
ros-version: humble
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
ros-version: iron
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
ros-version: rolling
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros-version: humble
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros-version: iron
- image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros-version: jazzy
fail-fast: false
container:
image: ${{ matrix.image }}
steps:
- name: Build Environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros-version }}
- name: Run Tests
uses: ros-tooling/[email protected]
with:
package-name: |
velodyne
velodyne_driver
velodyne_laserscan
velodyne_msgs
velodyne_pointcloud
target-ros2-distro: ${{ matrix.ros-version }}
- name: Upload logs
uses: actions/upload-artifact@v4
with:
name: colcon-logs
path: ros_ws/log
if: always()