Commit Graph

127 Commits

Author SHA1 Message Date
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
amai2012 308b150351
Add github action for Codeql analysis (#2857)
Create codeql-analysis.yml
2020-11-05 19:41:53 +01:00
Wolfgang Stöggl 4a2082e3c5
release-windows.yml: Remove redundant online-help (#2874)
The step "Create online-help" is not needed anymore since fa84b30.
The online-help files are generated now automatically during
qmake HAVE_QCHART=yes
2020-11-02 18:53:09 +01:00
Wolfgang Stöggl 661ff1e067
release-windows: Use current ProductVersion (#2867)
The filename of the daily built installer still contains 2.0 e.g.:
cppcheck-2.0.182-x64-Setup.msi
- Read the ProductVersion from productInfo.wxi and use it in the
file name of the cppcheck setup file.
- Add possibility to manually trigger this GitHub action using
  workflow_dispatch:
- Fix indentation, yamllint error:
  10:5 error wrong indentation: expected 6 but found 4 (indentation)
2020-10-31 12:23:24 +01:00
amai2012 2fa837c716
threadsafety shall not warn about const vars (in C++11) (#2847)
threadsafety shall not warn about const vars (in C++11) 
For C++03 a new id threadsafety-const was created.
2020-10-23 11:58:25 +02:00
Wolfgang Stöggl 2fda1646d9
Add generation of online-help to CI (#2843) 2020-10-11 03:48:34 +02:00
amai2012 c162676099
Update buildman.yml
Another attempt
2020-09-11 22:19:08 +02:00
amai2012 6a1b6aacf5
Update buildman.yml
syntax fix
2020-09-11 16:56:35 +02:00
amai2012 6ae0bd5358
Create manual.html 2020-09-11 16:48:03 +02:00
Daniel Marjamäki b0b31feadd fix ubsan errors 2020-09-05 21:09:11 +02:00
Daniel Marjamäki 558090b3cb CI: Try to make CI-unixish macos build happy 2020-09-05 18:42:00 +02:00
Daniel Marjamäki e331168481 CI: Move tasks from Travis to 'github actions' to speed up CI 2020-09-05 18:29:19 +02:00
Daniel Marjamäki 262d37fb47 windows installer: another attempt to make help work. the 'contents' are shown now but for some reason the 'index' is not. 2020-08-28 19:05:11 +02:00
amai2012 69893fa9bc
Create scriptcheck.yml (#2728)
A github action to run checks on shell and python scripts
2020-07-30 10:37:14 +02:00
amai2012 bab01a84ab
Githubactions update (#2729)
* Use upload-artifact@v2 (not the preview anymore)
* Upload artifacts for CI-unixish
* Use -j$(nproc) for make
2020-07-30 10:36:06 +02:00
Daniel Marjamäki fa8c7ed82c buildman: Add github action that builds the manual 2020-07-25 13:04:37 +02:00
Daniel Marjamäki 2b968202bb win_installer: include online-help in msi 2020-07-21 17:38:50 +02:00
Daniel Marjamäki f367313cac Windows release: Use matchcompiler 2020-05-31 18:38:23 +02:00
Daniel Marjamäki 04073a896b Windows release: tweaks 2020-05-30 23:19:27 +02:00
Daniel Marjamäki 66bfe2e943 Add release-windows github action 2020-05-29 14:05:19 +02:00
Daniel Marjamäki e2aec95fc9 Try to make github actions happy 2020-05-13 05:03:32 +02:00
amai2012 e0be3f6f1b
CI: Build GUI on ubuntu (#2626) 2020-05-03 10:10:39 +02:00
amai2012 c702046cce
CI: Build GUI with QtCharts (#2627) 2020-05-03 10:09:52 +02:00
amai2012 ef30e53332
Github action: Build GUI release (#2617) 2020-04-22 12:05:32 +02:00
amai2012 3eced58301
Limit IRC action to upstrream repo 2020-04-19 11:44:22 +02:00
amai2012 582f33ea5e
Create coverage data with HAVE_RULES=yes (#2612) 2020-04-19 11:04:02 +02:00
amai2012 c837e4ba12
Implement IRC notification (#2609)
Notify #cppcheck channel on freenode on various events including push and pull request
2020-04-19 10:52:19 +02:00
amai2012 67a70ee228
CI builds now support RULES (#2608)
For Windows the PCRE library has to be built.
On ubuntu and macos the pre-installed library is being used.
2020-04-19 10:46:51 +02:00
amai2012 cd13798b6c
GitHub action: Build Windows GUI (#2606)
Add Windows x64 GUI build. Provide artifacts for GUI and CLI binaries including 3rd party components.
2020-04-17 11:57:53 +02:00
amai2012 ae5cbc8048
Rename workflow 2020-04-16 21:37:32 +02:00
amai2012 6ccce18ad8
GitHub action: add Windows CLI build (#2604)
Build and run tests on Windows x64
2020-04-16 21:19:57 +02:00
amai2012 e35d678c28 Rename script file 2020-04-15 12:13:02 +02:00
amai2012 10269a5286
Use apt-get instead of apt 2020-04-07 20:30:10 +02:00
amai2012 5c7af1f922
Use apt-get instead of apt 2020-04-07 20:23:54 +02:00
amai2012 c123b9fcdd Rename file 2020-03-14 12:42:04 +01:00
amai2012 d5823472e3
Add code coverage to Github Actions (#2566)
Create and store coverage data including upload to codecov.io
2020-03-13 22:42:15 +01:00
amai2012 88c69418ee
Try to fix software installation on ubuntu 2020-02-24 12:17:34 +01:00
amai2012 2708a54c49
More GitHub actions (#2546)
* add macOS env 
* add validation targets
* use Z3
2020-02-20 22:00:14 +01:00
amai2012 c472322aad
Add GitHub actions (#2535)
* Initial version of GitHub actions script: compile cppcheck and "make check" on ubuntu
2020-02-13 09:16:53 +01:00