Skip to content

Commit 0f8ff7a

Browse files
committed
IWYU debug
1 parent 5656d18 commit 0f8ff7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pull-request-checks.yaml

+3-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)