Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 9 additions & 20 deletions .github/workflows/basic-build-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,21 @@ name: Basic Build Workflow

on:
- pull_request
- push

jobs:
build-ros2-latest:
runs-on: ubuntu-22.04
build:
runs-on: ubuntu-latest
strategy:
matrix:
image:
- rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
- rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
ros-version:
- iron
- rolling
exclude:
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-ros-base-latest
ros-version: rolling
- image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
ros-version: iron
rosdistro: [humble, iron, jazzy, rolling]
fail-fast: false
container:
image: ${{ matrix.image }}
image: ros:${{ matrix.rosdistro }}-ros-base
steps:
- name: Build Environment
uses: ros-tooling/setup-ros@v0.6
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros-version }}
required-ros-distributions: ${{ matrix.rosdistro }}
- name: Run Tests
uses: ros-tooling/[email protected]
with:
Expand All @@ -37,10 +26,10 @@ jobs:
velodyne_laserscan
velodyne_msgs
velodyne_pointcloud
target-ros2-distro: ${{ matrix.ros-version }}
target-ros2-distro: ${{ matrix.rosdistro }}
- name: Upload logs
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: colcon-logs
name: colcon-logs-${{ matrix.rosdistro }}
path: ros_ws/log
if: always()