Skip to content

Commit 70e7297

Browse files
committed
remove
1 parent 1110dee commit 70e7297

21 files changed

Lines changed: 0 additions & 2501 deletions

.github/workflows/CI-cygwin.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/CI-mingw.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/CI-unixish-docker.yml

Lines changed: 0 additions & 140 deletions
This file was deleted.

.github/workflows/CI-unixish.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -469,82 +469,3 @@ jobs:
469469
warnings="-pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar"
470470
g++ $warnings -c -Ilib -Iexternals/tinyxml2 democlient/democlient.cpp
471471
472-
- name: Show all ignored files
473-
if: false # TODO: currently lists all the contents of ignored folders - we only need what actually matched
474-
run: |
475-
git ls-files --others --ignored --exclude-standard
476-
477-
- name: Check for changed and unversioned files
478-
run: |
479-
# TODO: how to do this with a single command?
480-
git status --ignored=no
481-
git status --ignored=no | grep -q 'working tree clean'
482-
483-
selfcheck:
484-
needs: build # wait for all tests to be successful first
485-
486-
runs-on: ubuntu-22.04 # run on the latest image only
487-
488-
steps:
489-
- uses: actions/checkout@v4
490-
with:
491-
persist-credentials: false
492-
493-
- name: ccache
494-
uses: hendrikmuhs/ccache-action@v1.2
495-
with:
496-
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
497-
498-
- name: Install missing software on ubuntu
499-
run: |
500-
sudo apt-get update
501-
# qt6-tools-dev-tools for lprodump
502-
# qt6-l10n-tools for lupdate
503-
sudo apt-get install qt6-base-dev libqt6charts6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libglx-dev libgl1-mesa-dev
504-
sudo apt-get install libboost-container-dev
505-
506-
- name: Self check (build)
507-
run: |
508-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
509-
# compile with verification and ast matchers
510-
make -j$(nproc) -s CPPFLAGS="-DCHECK_INTERNAL" CXXFLAGS="-g -O2 -w -DHAVE_BOOST" MATCHCOMPILER=yes VERIFY=1
511-
512-
- name: CMake
513-
run: |
514-
cmake -S . -B cmake.output -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DBUILD_TRIAGE=On -DUSE_MATCHCOMPILER=Verify -DENABLE_CHECK_INTERNAL=On -DCPPCHK_GLIBCXX_DEBUG=Off -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DDISABLE_DMAKE=On
515-
516-
- name: Generate dependencies
517-
run: |
518-
# make sure auto-generated GUI files exist
519-
make -C cmake.output autogen
520-
make -C cmake.output gui-build-deps triage-build-ui-deps
521-
522-
- name: Self check
523-
run: |
524-
selfcheck_options="-q -j$(nproc) --std=c++11 --template=selfcheck --showtime=file-total -D__GNUC__ --error-exitcode=1 --inline-suppr --suppressions-list=.selfcheck_suppressions --library=gnu --inconclusive --enable=style,performance,portability,warning,missingInclude --exception-handling --debug-warnings --check-level=exhaustive"
525-
cppcheck_options="-D__CPPCHECK__ -DCHECK_INTERNAL -DHAVE_RULES --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2"
526-
ec=0
527-
528-
# TODO: add --check-config
529-
530-
# early exit
531-
if [ $ec -eq 1 ]; then
532-
exit $ec
533-
fi
534-
535-
# self check externals
536-
./cppcheck $selfcheck_options externals || ec=1
537-
# self check lib/cli
538-
mkdir b1
539-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json frontend || ec=1
540-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json -Ifrontend cli || ec=1
541-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json --enable=internal lib || ec=1
542-
# check gui with qt settings
543-
mkdir b2
544-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b2 -DQT_VERSION=0x060000 -DQ_MOC_OUTPUT_REVISION=68 -DQT_CHARTS_LIB --library=qt --addon=naming.json -Icmake.output/gui -Ifrontend -Igui gui/*.cpp cmake.output/gui || ec=1
545-
# self check test and tools
546-
./cppcheck $selfcheck_options $cppcheck_options -Ifrontend -Icli test/*.cpp || ec=1
547-
./cppcheck $selfcheck_options $cppcheck_options -Icli tools/dmake/*.cpp || ec=1
548-
# triage
549-
./cppcheck $selfcheck_options $cppcheck_options -DQ_MOC_OUTPUT_REVISION=68 -DQT_CHARTS_LIB --library=qt -Icmake.output/tools/triage -Igui tools/triage/*.cpp cmake.output/tools/triage || ec=1
550-
exit $ec

0 commit comments

Comments
 (0)