Commit Graph

166 Commits

Author SHA1 Message Date
Oliver Stöneberg 4b00fbfda6
CI-windows.yml: updated Qt 6.3 to `6.3.1` () 2022-08-13 08:29:21 +02:00
Oliver Stöneberg fc6b79a5e6
cache PCRE build in Windows CI jobs () 2022-08-07 19:04:10 +02:00
Oliver Stöneberg b13e42978c
CI-windows.yml: use `v2` of `jurplel/install-qt-action` () 2022-08-02 15:51:28 +02:00
Daniel Marjamäki a64a5e1496 ci: remove macos-10.15 job, it has been deprecated 2022-07-21 19:14:17 +02:00
Oliver Stöneberg bc58f55c6e
donate-cpu: greatly improved `LibraryIncludes.get_libraries()` performance / some optimizations and cleanups ()
* donate_cpu_lib.py: use `os.path.join()`

* donate-cpu: removed remaining usage of `os.chdir()`

* donate_cpu_lib.py: moved library includes code into class

* donate_cpu_lib.py: pre-compile library include regular expressions

* donate_cpu_lib.py: pre-compile some more regular expressions

* donate_cpu_lib.py: small unpack_package() cleanup and optimization

* donate_cpu_lib.py: added some information about the extracted files to unpack_package()

* donate_cpu_lib.py: bumped version

* added test_donate_cpu_lib.py

* donate_cpu_lib.py: greatly improved `LibraryIncludes.get_libraries()` performance

only scan each file once for previously undetected libraries only

* test_donate_cpu_lib.py: fix for Python 3.5

* scriptcheck.yml: added `-v` to pytest calls so we get the complete diff on assertions

* fixed `test_arguments_regression()` Python tests with additional pytest arguments

* donate_cpu_lib.py: use `subprocess.check_call()`

* test_donate_cpu_lib.py: sort results to address differences in order with Python 3.5
2022-07-13 21:09:29 +02:00
Oliver Stöneberg 05a1e92e35
speed up MinGW and Cygwin CI builds by avoiding repeated linking ()
* speed up MinGW and Cygwin CI builds by avoiding repeated linking

* updated some CI jobs to `windows-2022`
2022-07-13 21:09:07 +02:00
chrchr-github 21d992cc00
Fix crash on Windows with -j option ()
* Fix crash on Windows with -j option

* Disable CI-cygwin workflow

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Try to fix Cygwin build

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Update CI-cygwin.yml

* Cygwin uses THREADING_MODEL_FORK

* Restore workflows

* Remove comment

* Fix dmake

* Fix  FP invalidFunctionArgStr

* Revert "Fix  FP invalidFunctionArgStr"

This reverts commit dd5d3e67c6.
2022-07-13 13:46:03 +02:00
Daniel Marjamäki a2b50c1ccf ci: fix syntax error in scriptcheck.yml 2022-06-16 10:28:55 +02:00
Daniel Marjamäki 7999808639 ci: disable pylint because it fails to import files 2022-06-16 09:09:44 +02:00
Paul Fultz II cee48e5e19
Add backtrace to valueflow in debug mode () 2022-06-12 07:13:42 +02:00
Daniel Marjamäki 858b64332e remove sonarcloud again 2022-06-05 21:40:10 +02:00
Daniel Marjamäki d595c1e6e8 Add sonarcloud action 2022-06-04 18:02:17 +02:00
Oliver Stöneberg cfab6aeecf
use CMake for sanitizer builds / some CMake command cleanups () 2022-06-03 21:33:56 +02:00
Oliver Stöneberg 703396e549
use `ubuntu-22.04` as main/base distro in CI () 2022-05-31 19:55:57 +02:00
Oliver Stöneberg 5e2afacdb9
Moved some stuff from Travis to GitHub Actions / Cleanups () 2022-05-31 19:53:50 +02:00
Paul Fultz II eefa04c7af
Disable valgrind on CI ()
* Disable valgrind on CI

* Use workflow dispatch
2022-05-25 21:36:59 +02:00
Oliver Stöneberg d299d22fa2
updated CI to latest ubuntu and clang () 2022-05-22 15:27:32 +02:00
Oliver Stöneberg 8cd127aba8
CI-unixish.yml: added `macos-11` and `macos-12` () 2022-05-21 09:07:14 +02:00
Daniel Marjamäki 8dbc1b802a misra: fix crash 2022-05-17 22:15:49 +02:00
Patrick Oppenlander d7317b4f8a
fix html report generation with pygments >= 2.12.0 ()
pygments 2.12.0 changed the signature of the HtmlFormatter.wrap()
method. As we don't actually care about the arguments to wrap we can
use packing/unpacking to maintain compatability with older versions of
pygments.
2022-05-16 12:58:54 +02:00
Oliver Stöneberg 14421ae627
fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups () 2022-05-15 12:42:29 +02:00
Oliver Stöneberg fffb03a242
release-windows.yml: use windows-2022 () 2022-05-13 19:48:17 +02:00
Oliver Stöneberg 1f9929c65f
always execute all selfcheck commands / aligned the selfcheck parameters and calls across jobs ()
* always execute all selfcheck commands

* aligned the selfcheck parameters and calls across jobs
2022-05-13 06:52:20 +02:00
Oliver Stöneberg 56ac230e97
added strict cfg check ()
* runtests.sh: added strict mode - enabled via `STRICT=1`

* CI-unixish.yml: added strict cfg check

* runtests.sh: disabled syntax check for kde.cpp since `kde-4config` is no longer commonly available in recent distros

* runtests.sh: disabled syntax check for opencv2.cpp since `opencv.pc` is not commonly available in distros

* runtests.sh: added missing trailing slash to `CFG` - fixes define checks
2022-05-10 13:03:58 +02:00
Oliver Stöneberg 47c7287b8d
scriptcheck.yml: fixated pygments version and re-enabled all Python versions () 2022-05-05 21:49:01 +02:00
chrchr-github 3b30cd7ea8
Show uncrustify diff in CI ()
* Show uncrustify diff

* Bad format

* Revert "Bad format"

This reverts commit d82a13a398.
2022-05-04 21:14:43 +02:00
Paul Fultz II f48d1690a7
Disable the broken python version in the CI () 2022-04-25 18:14:17 +02:00
Oliver Stöneberg 36ef4dc5b8
added support for Qt6 () 2022-04-15 18:49:24 +02:00
Oliver Stöneberg 07fb6c1853
release-windows.yml: set up Visual Studio environment and added missing exitcode checks () 2022-04-11 19:16:58 +02:00
Oliver Stöneberg 2d9ec39a2d
make sure we remove obsolete entries from translations () 2022-04-11 11:25:08 +02:00
Daniel Marjamäki 8f386e15fd Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
Oliver Stöneberg e7f97a9621
updated Z3 to 4.8.15 () 2022-03-23 12:47:01 +01:00
Oliver Stöneberg 8fc5c93803
refactored reduce.py into a class and added unit test for it () 2022-03-19 19:42:44 +01:00
Armin Müller 7cc45fb393
Typos found by running "codespell" ()
Co-authored-by: Armin Müller <mueller.armin@foestergroup.de>
2022-03-16 15:28:44 +01:00
Oliver Stöneberg e208fc67c1
small selfcheck improvements ()
* CI-unixish.yml: added missing cppcheck-lib library to GUI selfcheck

* CI-unixish.yml: split triage from tools selfcheck since it requires the qt library

* replaced Q_NULLPTR with nullptr

* fixed passedByValue selfcheck warning
2022-03-11 21:42:46 +01:00
Daniel Marjamäki 03deb4d31e addons: interface with premiumaddon if it exists 2022-02-24 16:08:59 +01:00
Oliver Stöneberg aaa4425d90
added MinGW to CI and fixed local MinGW build () 2022-02-16 07:06:04 +01:00
Oliver Stöneberg 04b2a6f1c5
use Python version provided by platform in CI / prefer python3 () 2022-02-11 19:37:32 +01:00
Oliver Stöneberg 974dd5d49f
only use bundled tinyxml2 in CMake when configured to do so () 2022-02-06 13:02:52 +01:00
Oliver Stöneberg c2b5cdcca5
CI-windows.yml: added windows-2022, removed QT 5.9.9 and use msbuild instead of CMake for now () 2022-02-04 19:37:53 +01:00
Oliver Stöneberg 4af8734c29
release-windows.yml: disabled some unnecessary PCRE build options () 2022-02-02 13:00:54 +01:00
Oliver Stöneberg d928b57829
cache remaining Qt installations in CI () 2022-02-01 17:26:52 +01:00
Oliver Stöneberg 8f7770f512
added an include-what-you-use GitHub Action () 2022-02-01 17:19:19 +01:00
Oliver Stöneberg 842f2b2da7
use the latest clang and -O2 for sanitizer jobs () 2022-01-29 20:44:26 +01:00
Oliver Stöneberg 5ef3a41dc9
cache Qt installation in Windows CI jobs ()
* CI-windows.yml: cache Qt installation

* release-windows.yml: store Qt version in env

* release-windows.yml: cache Qt installation
2022-01-28 19:44:39 +01:00
Oliver Stöneberg 7d26cb68d9
CI-unixish.yml: Use Qt version provided by the distro () 2022-01-24 21:55:48 +01:00
Oliver Stöneberg 55ff684f34
added unusedFunction self check to CI / cleanups () 2022-01-18 22:02:25 +01:00
Oliver Stöneberg 4b5fba19bd
added CMake option CPPCHK_GLIBCXX_DEBUG to make usage of _GLIBCXX_DEBUG in Debug build configurable () 2022-01-04 15:45:36 +01:00
Oliver Stöneberg 8502584dc1
avoid duplicated downloads in CI by caching files / aligned PCRE and Z3 versions in dev and release builds () 2022-01-04 11:16:28 +01:00
Oliver Stöneberg cc24d6fcef
Fix (Invalid --project files do not give any error) () 2021-12-19 12:36:11 +01:00