File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ Checks: [
1212 -readability-magic-numbers,
1313 ]
1414
15- ExtraArgs : [--gcc-install-dir=/usr/lib/gcc/x86_64-linux-gnu/15]
16-
1715CheckOptions :
1816 misc-include-cleaner.IgnoreHeaders : bits/chrono.h
1917 readability-function-cognitive-complexity.IgnoreMacros : true
Original file line number Diff line number Diff line change 2121 ROS_DISTRO : ${{ matrix.ROS_DISTRO }}
2222 ROS_REPO : ${{ matrix.ROS_REPO }}
2323 CMAKE_ARGS : ${{ matrix.ROS_DISTRO == 'rolling' && '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_CLANG_TIDY=ON' || '' }}
24+ # gcc-16 is installed on the rolling image alongside gcc-15 but without its
25+ # libstdc++ headers, so clang-tidy (which auto-selects the newest GCC found)
26+ # fails with "'chrono'/'string'/'memory' file not found". Installing
27+ # libstdc++-16-dev fixes this.
28+ ADDITIONAL_DEBS : ${{ matrix.ROS_DISTRO == 'rolling' && 'libstdc++-16-dev' || '' }}
2429 steps :
2530 - name : Checkout repo
2631 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments