File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -921,13 +921,14 @@ jobs:
921921 DEBIAN_FRONTEND : noninteractive
922922 run : |
923923 sudo apt-get update
924- sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc gdb g++ maven flex bison iwyu
924+ sudo apt-get install --no-install-recommends -yq cmake ninja-build clang-19 clang++-19 gdb maven flex bison iwyu
925925 - name : Configure using CMake
926- run : cmake -S . -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g ++
926+ run : cmake -S . -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang ++
927927 - name : Run include-what-you-use
928928 run : |
929929 iwyu_tool -p build/compile_commands.json -j${{env.linux-vcpus}} | tee includes.txt
930930 if sed '/minisat2-src/,/^--$/d' includes.txt | grep '^- ' -B1 ; then
931+ cat includes.txt
931932 echo "Unnecessary includes found. Use '// IWYU pragma: keep' to override this."
932933 exit 1
933934 fi
You can’t perform that action at this time.
0 commit comments