File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -921,13 +921,14 @@ jobs:
921
921
DEBIAN_FRONTEND : noninteractive
922
922
run : |
923
923
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
925
925
- 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 ++
927
927
- name : Run include-what-you-use
928
928
run : |
929
929
iwyu_tool -p build/compile_commands.json -j${{env.linux-vcpus}} | tee includes.txt
930
930
if sed '/minisat2-src/,/^--$/d' includes.txt | grep '^- ' -B1 ; then
931
+ cat includes.txt
931
932
echo "Unnecessary includes found. Use '// IWYU pragma: keep' to override this."
932
933
exit 1
933
934
fi
You can’t perform that action at this time.
0 commit comments