Skip to content

Commit 490252f

Browse files
committed
remove
1 parent d393c1b commit 490252f

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
@@ -470,82 +470,3 @@ jobs:
470470
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"
471471
g++ $warnings -c -Ilib -Iexternals/tinyxml2 democlient/democlient.cpp
472472
473-
- name: Show all ignored files
474-
if: false # TODO: currently lists all the contents of ignored folders - we only need what actually matched
475-
run: |
476-
git ls-files --others --ignored --exclude-standard
477-
478-
- name: Check for changed and unversioned files
479-
run: |
480-
# TODO: how to do this with a single command?
481-
git status --ignored=no
482-
git status --ignored=no | grep -q 'working tree clean'
483-
484-
selfcheck:
485-
needs: build # wait for all tests to be successful first
486-
487-
runs-on: ubuntu-22.04 # run on the latest image only
488-
489-
steps:
490-
- uses: actions/checkout@v4
491-
with:
492-
persist-credentials: false
493-
494-
- name: ccache
495-
uses: hendrikmuhs/ccache-action@v1.2
496-
with:
497-
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
498-
499-
- name: Install missing software on ubuntu
500-
run: |
501-
sudo apt-get update
502-
# qt6-tools-dev-tools for lprodump
503-
# qt6-l10n-tools for lupdate
504-
sudo apt-get install qt6-base-dev libqt6charts6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libglx-dev libgl1-mesa-dev
505-
sudo apt-get install libboost-container-dev
506-
507-
- name: Self check (build)
508-
run: |
509-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
510-
# compile with verification and ast matchers
511-
make -j$(nproc) -s CPPFLAGS="-DCHECK_INTERNAL" CXXFLAGS="-g -O2 -w -DHAVE_BOOST" MATCHCOMPILER=yes VERIFY=1
512-
513-
- name: CMake
514-
run: |
515-
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
516-
517-
- name: Generate dependencies
518-
run: |
519-
# make sure auto-generated GUI files exist
520-
make -C cmake.output autogen
521-
make -C cmake.output gui-build-deps triage-build-ui-deps
522-
523-
- name: Self check
524-
run: |
525-
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"
526-
cppcheck_options="-D__CPPCHECK__ -DCHECK_INTERNAL -DHAVE_RULES --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2"
527-
ec=0
528-
529-
# TODO: add --check-config
530-
531-
# early exit
532-
if [ $ec -eq 1 ]; then
533-
exit $ec
534-
fi
535-
536-
# self check externals
537-
./cppcheck $selfcheck_options externals || ec=1
538-
# self check lib/cli
539-
mkdir b1
540-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json frontend || ec=1
541-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json -Ifrontend cli || ec=1
542-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json --enable=internal lib || ec=1
543-
# check gui with qt settings
544-
mkdir b2
545-
./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
546-
# self check test and tools
547-
./cppcheck $selfcheck_options $cppcheck_options -Ifrontend -Icli test/*.cpp || ec=1
548-
./cppcheck $selfcheck_options $cppcheck_options -Icli tools/dmake/*.cpp || ec=1
549-
# triage
550-
./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
551-
exit $ec

0 commit comments

Comments
 (0)