Skip to content

Commit 278163c

Browse files
committed
Try to use single step for industrial ci
1 parent c91cd7b commit 278163c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ jobs:
2020
env:
2121
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
2222
ROS_REPO: ${{ matrix.ROS_REPO }}
23+
CMAKE_ARGS: ${{ matrix.ROS_DISTRO == 'rolling' && '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON' || '' }}
2324
steps:
2425
- name: Checkout repo
2526
uses: actions/checkout@v4
2627
- name: Source tests
27-
if: ${{ matrix.ROS_DISTRO != 'rolling' }}
2828
uses: "ros-industrial/industrial_ci@master"
29-
- name: Source tests (with clang-tidy)
30-
if: ${{ matrix.ROS_DISTRO == 'rolling' }}
31-
uses: "ros-industrial/industrial_ci@master"
32-
env:
33-
CMAKE_ARGS: "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON"

0 commit comments

Comments
 (0)