Skip to content

Commit e473adb

Browse files
authored
iwyu.yml: reverted to Clang 21 for now [skip ci] (danmar#8318)
1 parent 2f1665b commit e473adb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/iwyu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ jobs:
217217
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14
218218
wget https://apt.llvm.org/llvm.sh
219219
chmod +x llvm.sh
220-
sudo ./llvm.sh 22
221-
sudo apt-get install -y clang-tools-22
220+
sudo ./llvm.sh 21
221+
sudo apt-get install -y clang-tools-21
222222
223223
- name: Install libc++
224224
if: matrix.stdlib == 'libc++'
225225
run: |
226-
sudo apt-get install -y libc++-22-dev
226+
sudo apt-get install -y libc++-21-dev
227227
228228
- name: Install Qt ${{ env.QT_VERSION }}
229229
uses: jurplel/install-qt-action@v4
@@ -238,8 +238,8 @@ jobs:
238238
run: |
239239
cmake -S . -B cmake.output -Werror=dev -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTING=On -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_TRIAGE=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DDISABLE_DMAKE=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off -DEXTERNALS_AS_SYSTEM=On -DUSE_LIBCXX=${{ matrix.use_libcxx }}
240240
env:
241-
CC: clang-22
242-
CXX: clang++-22
241+
CC: clang-21
242+
CXX: clang++-21
243243

244244
- name: Prepare CMake dependencies
245245
run: |
@@ -256,7 +256,7 @@ jobs:
256256
- name: clang-include-cleaner
257257
run: |
258258
# TODO: run multi-threaded
259-
find $PWD/cli $PWD/lib $PWD/test $PWD/gui -maxdepth 1 -name "*.cpp" | xargs -t -n 1 clang-include-cleaner-22 --print=changes --extra-arg=-w --extra-arg=-stdlib=${{ matrix.stdlib }} -p cmake.output > clang-include-cleaner.log 2>&1
259+
find $PWD/cli $PWD/lib $PWD/test $PWD/gui -maxdepth 1 -name "*.cpp" | xargs -t -n 1 clang-include-cleaner-21 --print=changes --extra-arg=-w --extra-arg=-stdlib=${{ matrix.stdlib }} -p cmake.output > clang-include-cleaner.log 2>&1
260260
261261
- uses: actions/upload-artifact@v4
262262
if: success() || failure()

0 commit comments

Comments
 (0)