Skip to content

Commit 28c5af3

Browse files
committed
iwyu.yml: run include-what-you-use on cfg test files
1 parent e6dc01d commit 28c5af3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/iwyu.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
dnf install -y libglvnd-devel # fixes missing dependency for Qt in CMake
6060
dnf install -y p7zip-plugins # required as fallback for py7zr in Qt installation
6161
dnf install -y cups-devel # required for Qt6PrintSupport in CMake since Qt 6.7.3
62+
dnf install -y cairo-devel gtk3-devel libcurl-devel lua-devel openssl-devel python3-devel sqlite-devel boost-devel cppunit-devel libsigc++20-devel # for strict cfg checks
6263
dnf install -y iwyu
6364
ln -s iwyu_tool.py /usr/bin/iwyu_tool
6465
@@ -112,6 +113,14 @@ jobs:
112113
# -isystem/usr/lib/clang/17/include
113114
iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments > iwyu.log
114115
116+
- name: test/cfg
117+
run: |
118+
# TODO: redirect to log
119+
./test/cfg/runtests.sh
120+
env:
121+
IWYU: include-what-you-use
122+
STRICT: 1
123+
115124
- uses: actions/upload-artifact@v4
116125
if: success() || failure()
117126
with:

0 commit comments

Comments
 (0)