Skip to content

Update CI workflow #207

Update CI workflow

Update CI workflow #207

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, rolling]
ROS_REPO: [testing, main]
env:
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
ROS_REPO: ${{ matrix.ROS_REPO }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Source tests
if: ${{ matrix.ROS_DISTRO != 'rolling' }}
uses: "ros-industrial/industrial_ci@master"
- name: Source tests (with clang-tidy)
if: ${{ matrix.ROS_DISTRO == 'rolling' }}
uses: "ros-industrial/industrial_ci@master"
env:
CMAKE_ARGS: "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON"