Skip to content

Commit 596edb8

Browse files
committed
remove
1 parent e713a5a commit 596edb8

1 file changed

Lines changed: 0 additions & 88 deletions

File tree

.github/workflows/iwyu.yml

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -176,91 +176,3 @@ jobs:
176176
with:
177177
name: Logs (include-what-you-use - ${{ matrix.os }} ${{ matrix.stdlib }})
178178
path: ./*.log
179-
180-
clang-include-cleaner:
181-
182-
strategy:
183-
matrix:
184-
stdlib: [libstdc++, libc++]
185-
include:
186-
- stdlib: libstdc++
187-
use_libcxx: Off
188-
- stdlib: libc++
189-
use_libcxx: On
190-
fail-fast: false
191-
192-
runs-on: ubuntu-22.04
193-
if: ${{ github.repository_owner == 'cppcheck-opensource' }}
194-
195-
env:
196-
QT_VERSION: 6.10.0
197-
198-
steps:
199-
- uses: actions/checkout@v4
200-
with:
201-
persist-credentials: false
202-
203-
- name: Install missing software
204-
run: |
205-
sudo apt-get update
206-
sudo apt-get install -y cmake make libpcre3-dev
207-
sudo apt-get install -y libgl-dev # missing dependency for using Qt in CMake
208-
209-
- name: Install clang
210-
run: |
211-
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14
212-
wget https://apt.llvm.org/llvm.sh
213-
chmod +x llvm.sh
214-
sudo ./llvm.sh 22
215-
sudo apt-get install -y clang-tools-22
216-
217-
- name: Install libc++
218-
if: matrix.stdlib == 'libc++'
219-
run: |
220-
sudo apt-get install -y libc++-22-dev
221-
222-
- name: Install Qt ${{ env.QT_VERSION }}
223-
uses: jurplel/install-qt-action@v4
224-
with:
225-
version: ${{ env.QT_VERSION }}
226-
modules: 'qtcharts'
227-
setup-python: 'false'
228-
install-deps: false
229-
cache: true
230-
231-
- name: Prepare CMake
232-
run: |
233-
# TODO: re-enable HAVE_RULES
234-
cmake -S . -B cmake.output -Werror=dev -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=Off -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 }}
235-
env:
236-
CC: clang-22
237-
CXX: clang++-22
238-
239-
- name: Prepare CMake dependencies
240-
run: |
241-
# make sure the auto-generated GUI sources exist
242-
make -C cmake.output autogen
243-
# make sure the precompiled headers exist
244-
#make -C cmake.output/cli cmake_pch.hxx.pch
245-
#make -C cmake.output/gui cmake_pch.hxx.pch
246-
#make -C cmake.output/lib cmake_pch.hxx.pch
247-
#make -C cmake.output/test cmake_pch.hxx.pch
248-
# make sure the auto-generated GUI dependencies exist
249-
make -C cmake.output gui-build-deps
250-
251-
- name: clang-include-cleaner
252-
run: |
253-
# TODO: run multi-threaded
254-
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
255-
256-
- uses: actions/upload-artifact@v4
257-
if: success() || failure()
258-
with:
259-
name: Compilation Database (clang-include-cleaner - ${{ matrix.stdlib }})
260-
path: ./cmake.output/compile_commands.json
261-
262-
- uses: actions/upload-artifact@v4
263-
if: success() || failure()
264-
with:
265-
name: Logs (clang-include-cleaner - ${{ matrix.stdlib }})
266-
path: ./*.log

0 commit comments

Comments
 (0)