Skip to content

Commit

Permalink
Update lint-cpp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Dec 15, 2024
1 parent c29bcdc commit 52410c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .ci/lint-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
set -e -E -u -o pipefail

echo "running include-what-you-use"
include-what-you-use -h
cmake -B build -S . -DCMAKE_C_INCLUDE_WHAT_YOU_USE=include-what-you-use -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE=include-what-you-use -G Ninja
cmake -B build -S . -DCMAKE_C_INCLUDE_WHAT_YOU_USE="include-what-you-use;-Xiwyu;any;-Xiwyu;iwyu;-Xiwyu;args" -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="include-what-you-use;-Xiwyu;any;-Xiwyu;iwyu;-Xiwyu;args" -G Ninja
cmake --build build --target _lightgbm -j4 || true
echo "done running include-what-you-use"

Expand Down

0 comments on commit 52410c6

Please sign in to comment.