No description
Find a file
Nick Bolton 47849db4d9
Run Valgrind on unit tests in CI to detect memory leaks (#7401)
* Move QApplication out of main to reduce memory impact when running individual tests

* Add --valgrind arg and colorize output when command returns non-zero exit code

* Fixed: colorama not always available

* Test multiple Qt tests

* Fixed: Windows Qt test failing due to missing QCoreApplication

* Simplify fake args for Qt

* Use --ci-env arg

* Create Valgrind analysis workflow

* Rename vars for fake args

* Parse and output valgrind summary

* Add build mode to comment

* Use GITHUB_OUTPUT to output summary

* Merge valgrind comment

* Improve comment

* Use `tee` instead of `--log-file` to also print stdout

* Improve comment about debug and release

* Simplify output writing in parse step

* Improve step name

* Correct comment about summaries

* Remove commented out code

* Better var name

* Missing copyright

* Rename global to shared

* Remove space

* Revert change to ConfigTests.cpp
2024-07-17 09:22:46 +01:00
.github Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
.vscode Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
cmake Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
doc Re-implement packaging for GitHub workflows (Linux) (#7361) 2024-07-02 11:23:56 +01:00
ext Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
res Disable debug for Arch package (#7377) 2024-07-09 18:37:00 +01:00
scripts Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
src Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
.clang-format Make Clang param and arg alignment more readable (#7387) 2024-07-16 14:36:44 +01:00
.env.example Resolve Qt framework path with install_name_tool (#7379) 2024-07-10 15:11:32 +00:00
.gitignore Re-implement packaging for GitHub workflows (Linux ARM) (#7369) 2024-07-08 09:32:55 +00:00
.gitmodules Synergy 907 client tray language switcher reverts to en (#7038) 2021-10-04 18:51:12 +03:00
Brewfile Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
ChangeLog Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
Chocolatey.config Upgrade from Qt5 to Qt6 for more modern UI (#7373) 2024-07-08 15:37:51 +01:00
cmake-format.yaml Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
CMakeLists.txt Re-implement packaging for GitHub workflows (Linux) (#7361) 2024-07-02 11:23:56 +01:00
CMakePresets.json Combine GitHub workflows to reduce config duplication (#7352) 2024-06-19 17:48:18 +01:00
config.yaml Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
cspell.json Resolve Qt framework path with install_name_tool (#7379) 2024-07-10 15:11:32 +00:00
Doxyfile #6666 Fixed absolute path 2020-04-21 16:54:43 +01:00
LICENSE Add missing dependencies to Debian package (#7374) 2024-07-09 11:12:44 +01:00
README.md Update README.md (#7398) 2024-07-16 10:27:21 +01:00
VERSION Re-implement CI auto version increment for packaging (#7354) 2024-06-26 15:46:42 +00:00

Synergy Core

CI CodeQL Analysis SonarCloud Analysis Build containers

This is the open source core component of Synergy, a keyboard and mouse sharing tool.

Developer quick start

Simplified instructions for those who want to contribute to the development of Synergy Core.

Having problems? Check the Quick Start FAQ wiki page.

Dependencies:

python scripts/install_deps.py

Configure:

Windows:

cmake -B build --preset=windows-release

macOS:

cmake -B build --preset=macos-release

Linux:

cmake -B build --preset=linux-release

Build:

cmake --build build -j8

Test:

./build/bin/unittests