Skip to content

Commit 37560fe

Browse files
committed
remove
1 parent 359146d commit 37560fe

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

.github/workflows/CI-unixish.yml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -582,71 +582,3 @@ jobs:
582582
git status --ignored=no
583583
git status --ignored=no | grep -q 'working tree clean'
584584
585-
selfcheck:
586-
needs: build # wait for all tests to be successful first
587-
588-
runs-on: ubuntu-22.04 # run on the latest image only
589-
590-
steps:
591-
- uses: actions/checkout@v4
592-
with:
593-
persist-credentials: false
594-
595-
- name: ccache
596-
uses: hendrikmuhs/[email protected]
597-
with:
598-
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
599-
600-
- name: Install missing software on ubuntu
601-
run: |
602-
sudo apt-get update
603-
# qt6-tools-dev-tools for lprodump
604-
# qt6-l10n-tools for lupdate
605-
sudo apt-get install qt6-base-dev libqt6charts6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libglx-dev libgl1-mesa-dev
606-
sudo apt-get install libboost-container-dev
607-
608-
- name: Self check (build)
609-
run: |
610-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
611-
# compile with verification and ast matchers
612-
make -j$(nproc) -s CXXOPTS="-g -O2 -w" CPPOPTS="-DCHECK_INTERNAL -DHAVE_BOOST" MATCHCOMPILER=yes VERIFY=1
613-
614-
- name: CMake
615-
run: |
616-
cmake -S . -B cmake.output -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=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
617-
618-
- name: Generate dependencies
619-
run: |
620-
# make sure auto-generated GUI files exist
621-
make -C cmake.output autogen
622-
make -C cmake.output gui-build-deps triage-build-ui-deps
623-
624-
- name: Self check
625-
run: |
626-
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"
627-
cppcheck_options="-D__CPPCHECK__ -DCHECK_INTERNAL -DHAVE_RULES --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2"
628-
ec=0
629-
630-
# TODO: add --check-config
631-
632-
# early exit
633-
if [ $ec -eq 1 ]; then
634-
exit $ec
635-
fi
636-
637-
# self check externals
638-
./cppcheck $selfcheck_options externals || ec=1
639-
# self check lib/cli
640-
mkdir b1
641-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json frontend || ec=1
642-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json -Ifrontend cli || ec=1
643-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json --enable=internal lib || ec=1
644-
# check gui with qt settings
645-
mkdir b2
646-
./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
647-
# self check test and tools
648-
./cppcheck $selfcheck_options $cppcheck_options -Ifrontend -Icli test/*.cpp || ec=1
649-
./cppcheck $selfcheck_options $cppcheck_options -Icli tools/dmake/*.cpp || ec=1
650-
# triage
651-
./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
652-
exit $ec

0 commit comments

Comments
 (0)