Skip to content

Use containers

Use containers #1769

Workflow file for this run

name: build
# on:
# pull_request:
# schedule:
# - cron: '0 0 * * *'
on: push
jobs:
build_and_test:
runs-on: ubuntu-latest
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-noble
strategy:
matrix:
ros_distribution:
- jazzy
- rolling
steps:
- name: install dependencies
run: |
sudo apt update && sudo apt install python3-pip -y
pip3 install eclipse-zenoh==0.11.0 pycdr2 --break-system-packages
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: build and test
uses: ros-tooling/[email protected]
with:
package-name: free_fleet free_fleet_adapter free_fleet_examples
target-ros2-distro: ${{ matrix.ros_distribution }}