Commit Graph

22 Commits

Author SHA1 Message Date
matt335672 d77b0b3b9d Bump cppcheck to v2.11
This fixes the following errors:-

sesman/tools/authtest.c:64:14: error: syntax error [syntaxError]
    g_printf("xrdp auth module tester v" PACKAGE_VERSION "\n");
             ^
sesman/tools/sesrun.c:165:14: error: syntax error [syntaxError]
    g_printf("xrdp session starter v" PACKAGE_VERSION "\n");
             ^
vrplayer/decoder.h:35:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/playaudio.h:45:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/dlgabout.h:22:13: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    private slots:
            ^
vrplayer/playvideo.h:49:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
Additionally, cppcheck now makes use of all available CPUs
2023-06-23 15:12:51 +01:00
matt335672 41ae2f4efa Fix (again) broken 32-bit CI 2023-05-15 11:17:14 +01:00
Koichiro IWAO 3b62bf1df2 CI: skip running astyle on third_party sources 2023-04-04 12:08:32 +09:00
Koichiro IWAO cd1c479069 CI: skip running cppcheck on third_party sources 2023-04-03 15:51:10 +09:00
Nexarian d3be110ffc Add unit test parameter for more coverage. 2023-02-11 00:28:30 -05:00
Nexarian ddba7a317a Add core cmocka framework
Initial integration with cmocka.

The intent is to first apply this to the xrdp unit tests, but until
something uses it directly we'll hold off on updating the Makefile.
2023-02-06 22:47:04 -05:00
matt335672 5cbf0cb5ac Update legacy OS from 18.04 to 20.04
Since Ubuntu 20.04 supports less i386 functionality than 18.04,
it has been necessary to use a smaller set of compile options,
resulting in less compile coverage.
2022-10-19 17:48:42 +01:00
matt335672 02513dbd4b Add freetype2 to CI
The freetype2 library can now be used to create fv1 fonts. This
library is added to the 'max features' CI builds to pick up any
regressions.
2022-09-06 10:32:40 +01:00
a1346054 59f8d9fe07
fix some shellcheck warnings 2022-09-03 02:05:08 +00:00
matt335672 baf62457a3 Move to cppcheck 2.7 and bump default threads to 2 2022-02-07 09:31:34 +00:00
matt335672 f69bcda8c7 32-bit CI build process : Remove some 64-bit packages 2021-09-03 12:12:29 +01:00
matt335672 aa43a005e3 Add --with-imlib2 to i386 CI 2021-09-01 10:09:30 +01:00
matt335672 2d123d519d Add imlib2 to CI 2021-09-01 10:09:30 +01:00
matt335672 341a32581c CI: Update package lists before adding packages 2021-05-28 10:47:18 +01:00
Alexandre Quesnel f8652e3a0f Add checking the code formatting with astyle during CI builds 2021-05-08 16:53:32 +00:00
Alexandre Quesnel ccd9ae8c55 Fix argument defaulting in install_xrdp_build_dependencies_with_apt.sh 2021-04-14 04:41:54 +00:00
Alexandre Quesnel 09174ccd4d Adding g_strnjoin() with units tests 2021-04-14 04:41:53 +00:00
matt335672 78e4d9b84d Remove openssl:i386 2021-03-19 12:36:42 +00:00
matt335672 8ab3a2e9f8 Bumped cppcheck version to 2.3
addressed resulting warnings
2020-12-31 11:27:14 +00:00
Alexandre Quesnel 353e11caba Adding CI build using github actions 2020-11-17 05:49:39 +00:00
matt335672 a57c68f55e Implement changes to support cppcheck 2.x 2020-06-19 11:06:41 +01:00
matt335672 2faf98ca61 Add cppcheck to travis-ci 2020-03-03 10:33:17 +00:00