Oliver Stöneberg
07fb6c1853
release-windows.yml: set up Visual Studio environment and added missing exitcode checks ( #3998 )
2022-04-11 19:16:58 +02:00
Oliver Stöneberg
2d9ec39a2d
make sure we remove obsolete entries from translations ( #3995 )
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 ( #3928 )
2022-03-23 12:47:01 +01:00
Oliver Stöneberg
8fc5c93803
refactored reduce.py into a class and added unit test for it ( #3791 )
2022-03-19 19:42:44 +01:00
Armin Müller
7cc45fb393
Typos found by running "codespell" ( #3907 )
...
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 ( #3888 )
...
* 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 ( #3826 )
2022-02-16 07:06:04 +01:00
Oliver Stöneberg
04b2a6f1c5
use Python version provided by platform in CI / prefer python3 ( #3776 )
2022-02-11 19:37:32 +01:00
Oliver Stöneberg
974dd5d49f
only use bundled tinyxml2 in CMake when configured to do so ( #3806 )
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 ( #3730 )
2022-02-04 19:37:53 +01:00
Oliver Stöneberg
4af8734c29
release-windows.yml: disabled some unnecessary PCRE build options ( #3778 )
2022-02-02 13:00:54 +01:00
Oliver Stöneberg
d928b57829
cache remaining Qt installations in CI ( #3782 )
2022-02-01 17:26:52 +01:00
Oliver Stöneberg
8f7770f512
added an include-what-you-use GitHub Action ( #3759 )
2022-02-01 17:19:19 +01:00
Oliver Stöneberg
842f2b2da7
use the latest clang and -O2 for sanitizer jobs ( #3775 )
2022-01-29 20:44:26 +01:00
Oliver Stöneberg
5ef3a41dc9
cache Qt installation in Windows CI jobs ( #3769 )
...
* 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 ( #3729 )
2022-01-24 21:55:48 +01:00
Oliver Stöneberg
55ff684f34
added unusedFunction self check to CI / cleanups ( #3526 )
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 ( #3628 )
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 ( #3612 )
2022-01-04 11:16:28 +01:00
Oliver Stöneberg
cc24d6fcef
Fix #9162 (Invalid --project files do not give any error) ( #3177 )
2021-12-19 12:36:11 +01:00
Oliver Stöneberg
0c3531ea61
CI-unixish.yml: added generated GUI files to self check and suppress known false positives for now ( #3641 )
2021-12-17 21:52:55 +01:00
Oliver Stöneberg
ffae40d2f4
CI-unixish.yml: fixed syntax error ( #3642 )
2021-12-17 13:06:50 +01:00
Oliver Stöneberg
0e1590b43c
CI-unixish.yml: disabled GUI build on macos since Qt installation is flakey ( #3634 )
2021-12-16 17:45:34 +01:00
Oliver Stöneberg
dafb2fe6a0
Test GUI build CMake in CI ( #3621 )
2021-12-15 19:36:34 +01:00
Oliver Stöneberg
f79bb40e3d
scriptcheck.yml: avoid duplicated cppcheck builds ( #3611 )
2021-12-11 15:21:39 +01:00
chrchr-github
60fd53ec09
Fix release-windows workflow ( #3552 )
2021-11-08 16:54:56 +01:00
Daniel Marjamäki
31ddef5f91
skip 'install pcre' step in windows github action, it failed because curl timed out
2021-11-06 08:43:21 +01:00
Oliver Stöneberg
54d621555d
scan GUI sources with clang-tidy in CI ( #3233 )
...
* build UI dependencies before running clang-tidy
* clang-tidy.yml: enabled GUI sources and build some dependencies for clang-tidy
* work around missing dependency for Qt install step
2021-10-31 20:15:32 +01:00
Oliver Stöneberg
70dcc9544e
updated latest ubuntu version to 21.10 / updated to clang-tidy-13 ( #3494 )
2021-10-24 11:07:45 +02:00
Oliver Stöneberg
22a684d9e8
moved uncrustify into a separate GitHub action ( #3515 )
2021-10-18 07:24:54 +02:00
Daniel Marjamäki
27d7609d89
win_installer: update building. all files needed are collected in a single folder. the 'deploy' artifact will contain all the files.
2021-10-16 13:59:39 +02:00
Oliver Stöneberg
28955cea85
moved bug hunting in CI from defunct Travis job to (disabled) GitHub action ( #3164 )
2021-10-13 14:47:59 +02:00
Oliver Stöneberg
f309925a7b
update latest Python in CI to 3.10 / use all available threads for pylint ( #3493 )
2021-10-11 19:14:46 +02:00
Oliver Stöneberg
dd0f617d39
build GUI with oldest and newest available Qt5 version ( #3225 )
2021-10-09 16:09:20 +02:00
Daniel Marjamäki
f0f4ee7d91
CI-windows.yml: write comment with ::
2021-10-03 00:16:44 +02:00
Daniel Marjamäki
fc4e9ddbfc
Disable test-clang-import.py in CI-windows
2021-10-02 23:54:51 +02:00
Daniel Marjamäki
a6c98e9e60
Fixed #10482 (FP: misra-c2012-12.2)
2021-09-17 14:21:25 +02:00
Daniel Marjamäki
0f12003e07
crustify; check formatting in CI
2021-08-08 14:17:01 +02:00
amai2012
c60fdc25f9
Delete irc.yml ( #3384 )
2021-08-04 17:28:19 +02:00
Wolfgang Stöggl
462cd88784
Remove mirror option from install-qt-action ( #3356 )
...
The mirror option has been removed from the
jurplel/install-qt-action [1]
- Fixes warning in release-windows GitHub Action:
build
Unexpected input(s) 'mirror'
[1] https://github.com/jurplel/install-qt-action/commit/49465b8
2021-07-25 18:14:28 +02:00
Daniel Marjamäki
74ab8f1a48
misra; implemented rule 20.8
2021-07-22 08:46:28 +02:00
Daniel Marjamäki
6f7722873e
CI; specify unix64 platform when running misra-test
2021-07-20 12:23:16 +02:00
Daniel Marjamäki
f44a82856f
misra; implement rule 8.7
2021-07-17 22:36:03 +02:00
Daniel Marjamäki
27bd543566
ci; Disable asan for self-check we have problems with that
2021-07-17 19:05:31 +02:00
Daniel Marjamäki
9d5c65fcce
CI; Improved testing of misra addon
2021-07-11 17:24:14 +02:00
Paul Fultz II
8dc1fa7a59
Add colors to CLI reporting ( #3304 )
2021-07-08 21:21:35 +02:00
Daniel Marjamäki
9172f2ab3b
addons; add CTU infrastructure
2021-07-07 10:58:13 +02:00
Daniel Marjamäki
2fcc0c3959
Remove extra syntax checking of test cases, it's too pedantic for now
2021-05-14 22:32:30 +02:00
Daniel Marjamäki
5b3227db8d
CI; extract tests and perform syntax check
2021-05-14 13:55:25 +02:00
Daniel Marjamäki
d2d2124238
Revert "Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again."
...
This reverts commit 207361b174
.
2021-04-30 16:47:02 +02:00
Oliver Stöneberg
9ad7ab4263
use latest available clang-tidy in CI ( #3230 )
2021-04-24 20:20:09 +02:00
Daniel Marjamäki
207361b174
Clang import; This experimental feature didn't "take off" much. After a lot of work we are still far fram the goal. I remove it now but don't rule out completely that it could ever be added again.
2021-04-21 18:59:48 +02:00
Oliver Stöneberg
5de58c4ddd
added clang-tidy to CI ( #3218 )
2021-04-18 21:51:47 +02:00
Oliver Stöneberg
5a7e361442
run self-checks with standard set to C++11 ( #3206 )
2021-04-12 18:29:13 +02:00
Oliver Stöneberg
98b4253ba6
moved cygwin build from appveyor to GitHub action ( #3149 )
2021-04-10 14:30:02 +02:00
Oliver Stöneberg
98335e5d5f
moved more tests from Travis to GitHub actions ( #3201 )
2021-04-09 07:47:11 +02:00
Oliver Stöneberg
d11f0f3f18
use all available processes for nmake builds ( #3192 )
2021-04-03 21:28:17 +02:00
Oliver Stöneberg
052de79b6d
some test/CI related refactoring and cleanup ( #3163 )
2021-04-03 21:22:39 +02:00
Oliver Stöneberg
c45b941717
CI-windows.yml: fixed building of GUI broken by incorrect matrix checks ( #3193 )
2021-04-03 21:10:59 +02:00
Oliver Stöneberg
4d526dcbf7
extended the Python script checks in the CI and adjusted some scripts ( #3186 )
2021-03-31 22:09:42 +02:00
Oliver Stöneberg
2cecec274a
valgrind.yml: added workaround for expired dbgsym release key ( #3178 )
2021-03-21 22:25:57 +01:00
amai2012
b1eaa3021f
Don't publish artifacts
...
Currently that feature is unstable and nobody seems to use them anyway.
2021-03-15 09:24:28 +01:00
Oliver Stöneberg
9c269e3d04
used "env" attribute to clean up GitHub sanitizer actions a bit ( #3162 )
2021-03-05 21:55:57 +01:00
amai2012
2a3e641645
Remove artifacts
2021-03-03 09:53:18 +01:00
amai2012
985e2d8af1
Remove artifacts
2021-03-03 09:52:27 +01:00
Daniel Marjamäki
fef956f3f0
Testing; Moved test/cli tests from travis to github actions
2021-03-01 18:49:59 +01:00
Oliver Stöneberg
be62fab737
donate_cpu_lib.py: improved timeout reporting and process handling ( #3153 )
2021-02-27 03:19:08 +01:00
amai2012
4e32999df6
Perform coverage for pull requests
2021-02-25 20:14:50 +01:00
amai2012
8d8aa50017
Update codecov-action
2021-02-25 19:54:15 +01:00
Oliver Stöneberg
77474d0ccd
added 32-bit Windows build to GitHub action ( #3144 )
2021-02-24 22:41:25 +01:00
Oliver Stöneberg
e783df646a
various CI refactorings and cleanups ( #3142 )
2021-02-21 14:17:02 +01:00
Oliver Stöneberg
b6fc2f1a68
added self-check to sanitizer builds ( #3017 )
2021-02-20 13:34:57 +01:00
Oliver Stöneberg
b1ccad5f02
some Python-related CI cleanups ( #3066 )
2021-02-20 13:26:28 +01:00
Oliver Stöneberg
b434752e51
added docker builds for legacy/cutting edge platforms ( #3138 )
2021-02-20 13:23:57 +01:00
amai2012
d02a64c550
Remove mirror option from install-qt-action
...
See 49465b8677
2021-02-10 17:48:01 +01:00
amai2012
c67ff581b2
Remove mirror option from install-qt-action
...
See 49465b8677
2021-02-10 17:31:06 +01:00
amai2012
df305721c8
Update Z3 version
...
Update to Z3 4.8.10
2021-01-31 21:46:14 +01:00
Oliver Stöneberg
6f49a2ff4a
CI-unixish.yml: perform self check with --debug-warnings ( #2973 )
2021-01-21 18:29:08 +01:00
Daniel Marjamäki
253b7810fb
Coverage; cppunit header not found when running coverage script
2021-01-20 21:10:24 +01:00
Oliver Stöneberg
85154cb70e
use mirror for install-qt-action ( #3070 )
2021-01-20 19:03:38 +01:00
Oliver Stöneberg
f46a9e3543
fixed/excluded some shellcheck warnings and actually fail the build when something is found ( #3068 )
2021-01-20 18:43:49 +01:00
Mathias Schmid
ab7d728831
Add missing support for "type-checks" and "smart-pointer" configuration. ( #3039 )
2021-01-18 19:10:53 +01:00
Oliver Stöneberg
ac7647fcd8
some self-check suppression cleanups ( #3032 )
2021-01-09 20:32:38 +01:00
amai2012
76d5e6c7db
Remove macos-11.0 environment
...
See https://github.com/danmar/cppcheck/pull/2989#issuecomment-753591221
The environment currently is not reliable. Maybe because it's a preview only according to https://github.com/actions/virtual-environments/issues/1814 ?
2021-01-03 10:41:43 +01:00
amai2012
fd520b45d7
CI: build oss-fuzz client using make ( #2951 )
2020-12-16 10:16:33 +01:00
amai2012
2eb326de83
Update workflows to Ubuntu 20.04 ( #2948 )
2020-12-15 10:59:09 +01:00
amai2012
ffde6278de
CI-Windows: Use Z3 4.8.9 ( #2946 )
2020-12-13 19:39:52 +01:00
amai2012
daf1efcd28
Github CI: AddUbuntu 20.04 and MacOS 11.0 ( #2936 )
...
The job no longer uses `.latest` environment specifiers.
2020-12-09 09:46:23 +01:00
amai2012
e085d851c0
Add Valgrind CI action ( #2921 )
...
For now only few testsuites are included. More should be added later.
2020-12-07 08:41:25 +01:00
Daniel Marjamäki
e541d01533
Bug hunting; Do not check with sanitizers in github action, it takes too much time
2020-12-06 22:06:55 +01:00
Oliver Stöneberg
9c20b29dba
improved sanitizer builds in CI ( #2928 )
2020-12-01 18:02:13 +01:00
Daniel Marjamäki
f145ae967d
run addon pytest scripts in github action because something fails on travis
2020-11-24 07:48:30 +01:00
Wolfgang Stöggl
ef31b70bf4
Update Qt version for release-windows to 5.15.2 ( #2917 )
...
Qt 5.15.2 has been released on 2020-11-20. This is the currently newest
patch release of the 5.15 LTS series.
- The update of Qt to version 5.15.2 fixes an issue with the index of
Qt help files as reported upstream:
https://bugreports.qt.io/browse/QTBUG-88342
2020-11-22 08:46:05 +01:00
Wolfgang Stöggl
dcd7e3a24f
Update setup-msbuild also in release-windows ( #2903 )
...
- Fixes:
The `add-path` command is deprecated and will be disabled on
November 16th. Please upgrade to using Environment Files.
For more information see:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
- This is a follow-up commit to: a6a5cbe6
2020-11-16 09:17:17 +01:00
Daniel Marjamäki
c7cbe7f2d3
rename externals/tinyxml to externals/tinyxml2
2020-11-16 09:11:53 +01:00
amai2012
a6a5cbe6c9
Update microsoft/setup-msbuild ( #2902 )
...
microsoft/setup-msbuild@v1.0.2 should cure the issue mentioned on https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-15 19:47:07 +01:00
Wolfgang Stöggl
a5258a3fb0
Update Qt version for release-windows to 5.15.1 ( #2891 )
...
So far, Qt version 5.12.9 has been used, which is the current default
of jurplel/install-qt-action@v2
- The update of Qt to version 5.15.1 enables displaying of
Contents and Index of the online help, if it is installed in a
readonly location, typically: C:\Program Files\Cppcheck\
- Qt 5.14 or newer is required to display Contents or Index,
when the help files are readonly and the timestamp of online-help.qch
is not correct to the second.
- This is a follow-up to commit 4a057c1
2020-11-09 11:32:33 +01:00
amai2012
38a24703c9
Adjust Codeql2 build ( #2887 )
...
Update codeql-analysis.yml
Use manual build avoid matchcompiler but also use Z3 and PCRE
2020-11-06 19:44:06 +01:00