Skip to content

Commit 2d99a64

Browse files
authored
iwyu.yml: remove duplicated option passed to cmake (#6213)
for cmake, the last option win, so there is no need to repeat the same option multiple times. but we have two `-DBUILD_TESTS=On` passed to cmake. in this change, one of them is dropped. Signed-off-by: Kefu Chai <[email protected]>
1 parent a4575e3 commit 2d99a64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/iwyu.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151

152152
- name: Prepare CMake
153153
run: |
154-
cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DBUILD_TESTS=On -DBUILD_GUI=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off -DEXTERNALS_AS_SYSTEM=On
154+
cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DBUILD_GUI=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off -DEXTERNALS_AS_SYSTEM=On
155155
env:
156156
CC: clang-18
157157
CXX: clang++-18
@@ -176,4 +176,4 @@ jobs:
176176
- uses: actions/upload-artifact@v3
177177
with:
178178
name: Logs (clang-include-cleaner)
179-
path: ./*.log
179+
path: ./*.log

0 commit comments

Comments
 (0)