Skip to content

dedicated class and library for parameter handling #161

dedicated class and library for parameter handling

dedicated class and library for parameter handling #161

Workflow file for this run

name: camera_ros build
on:
pull_request:
paths-ignore:
- "README.md"
jobs:
build:
name: camera_ros (${{ matrix.distribution }})
runs-on: ubuntu-latest
strategy:
matrix:
include:
- version: 22.04
distribution: humble
- version: 24.04
distribution: jazzy
continue-on-error: ${{ matrix.distribution == 'rolling' }}
container:
image: ubuntu:${{ matrix.version }}
steps:
- name: fetch source
uses: actions/checkout@v4
- name: install ROS2 ${{ matrix.distribution }}
uses: ros-tooling/[email protected]
- name: colcon lint dependencies
run: |
apt install -y python3-venv
apt install -y apt-rdepends ros-${{ matrix.distribution }}-launch-ros
python3 -m venv ~/.venvs/dev
. ~/.venvs/dev/bin/activate
pip install lark
pip install colcon-lint
- name: build and test
uses: ros-tooling/[email protected]
id: action_ros_ci
with:
package-name: camera_ros
target-ros2-distro: ${{ matrix.distribution }}
colcon-defaults: |
{
"build": {
"mixin": ["asan-gcc", "tsan", "coverage-gcc", "memcheck"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/5d51dff38097e8c2bf46d7a5b804e65935aa7f47/index.yaml
- name: colcon lint
working-directory: ${{ steps.action_ros_ci.outputs.ros-workspace-directory-name }}
run: |
. install/setup.sh
. ~/.venvs/dev/bin/activate
colcon lint