Skip to content

Add ENABLE_CLANG_TIDY option to CMake and update CI #205

Add ENABLE_CLANG_TIDY option to CMake and update CI

Add ENABLE_CLANG_TIDY option to CMake and update CI #205

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches-ignore:
- ros1*
pull_request:
branches-ignore:
- ros1*
jobs:
industrial_ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble, jazzy, kilted]
ROS_REPO: [testing, main]
include:
- ROS_DISTRO: rolling
ROS_REPO: testing
CMAKE_ARGS: "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON"
- ROS_DISTRO: rolling
ROS_REPO: main
CMAKE_ARGS: "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON"
env:
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
ROS_REPO: ${{ matrix.ROS_REPO }}
CMAKE_ARGS: ${{ matrix.CMAKE_ARGS }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Source tests
uses: "ros-industrial/industrial_ci@master"