Skip to content

Commit 0188d68

Browse files
committed
remove
1 parent 086950c commit 0188d68

1 file changed

Lines changed: 0 additions & 67 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
os: [macos-13]
2424
include:
2525
- use_qt6: On
26-
- os: ubuntu-20.04
27-
use_qt6: Off
2826
fail-fast: false # Prefer quick result
2927

3028
runs-on: ${{ matrix.os }}
@@ -424,68 +422,3 @@ jobs:
424422
run: |
425423
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"
426424
g++ $warnings -c -Ilib -Iexternals/tinyxml2 democlient/democlient.cpp
427-
428-
selfcheck:
429-
needs: build # wait for all tests to be successful first
430-
431-
runs-on: ubuntu-22.04 # run on the latest image only
432-
433-
steps:
434-
- uses: actions/checkout@v4
435-
436-
- name: ccache
437-
uses: hendrikmuhs/ccache-action@v1.2
438-
with:
439-
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
440-
441-
- name: Install missing software on ubuntu
442-
run: |
443-
sudo apt-get update
444-
# qt6-tools-dev-tools for lprodump
445-
# qt6-l10n-tools for lupdate
446-
sudo apt-get install qt6-base-dev libqt6charts6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libglx-dev libgl1-mesa-dev
447-
sudo apt-get install libboost-container-dev
448-
449-
- name: Self check (build)
450-
run: |
451-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
452-
# compile with verification and ast matchers
453-
make -j$(nproc) -s CPPFLAGS="-DCHECK_INTERNAL" CXXFLAGS="-g -O2 -w -DHAVE_BOOST" MATCHCOMPILER=yes VERIFY=1
454-
455-
- name: CMake
456-
run: |
457-
cmake -S . -B cmake.output -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=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
458-
459-
- name: Generate dependencies
460-
run: |
461-
# make sure auto-generated GUI files exist
462-
make -C cmake.output autogen
463-
make -C cmake.output gui-build-deps triage-build-ui-deps
464-
465-
- name: Self check
466-
run: |
467-
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"
468-
cppcheck_options="-D__CPPCHECK__ -DCHECK_INTERNAL -DHAVE_RULES --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2"
469-
ec=0
470-
471-
# TODO: add --check-config
472-
473-
# early exit
474-
if [ $ec -eq 1 ]; then
475-
exit $ec
476-
fi
477-
478-
# self check simplecpp
479-
./cppcheck $selfcheck_options externals/simplecpp || ec=1
480-
# self check lib/cli
481-
mkdir b1
482-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json cli || ec=1
483-
./cppcheck $selfcheck_options $cppcheck_options --cppcheck-build-dir=b1 --addon=naming.json --enable=internal lib || ec=1
484-
# check gui with qt settings
485-
mkdir b2
486-
./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 -Igui gui/*.cpp cmake.output/gui || ec=1
487-
# self check test and tools
488-
./cppcheck $selfcheck_options $cppcheck_options -Icli test/*.cpp tools/dmake/*.cpp || ec=1
489-
# triage
490-
./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
491-
exit $ec

0 commit comments

Comments
 (0)