Build and test #334
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: Build and test | |
on: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distribution: | |
- humble | |
include: | |
# Humble Hawksbill (May 2022 - May 2027) | |
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | |
ros_distribution: humble | |
ros_version: 2 | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Search packages in this repository | |
id: list_packages | |
run: | | |
echo ::set-output name=package_list::$(colcon list --names-only) | |
- name: Run action-ros-ci | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: ${{ steps.list_packages.outputs.package_list }} | |
target-ros2-distro: ${{ matrix.ros_distribution }} |