Commit Graph

209 Commits

Author SHA1 Message Date
44bd69fdc8 ci: use sonarsource/sonarcloud-github-c-cpp 2024-10-01 18:41:40 +01:00
6bb1bcad8c chore!: Relocate commercial code downstream 2024-10-01 14:39:05 +01:00
1003e07854 feat: Update onMouseMoveSecondary to allow offset adjustments 2024-09-24 18:53:30 +01:00
2e2523d6b8 ci: lookup pr number by head sha for ci comment 2024-09-23 20:03:37 +01:00
806ef46393 ci: use job summary instead of pr comment 2024-09-23 17:12:07 +01:00
bd75e0a874 ci: use braces block for formatting in ci comment 2024-09-23 01:44:13 +01:00
1d90e0780a ci: fixed syntax error in ci comment workflow 2024-09-23 01:28:40 +01:00
b1da95757b ci: handle files with same name in ci comment workflow 2024-09-23 01:24:00 +01:00
1bfdb8f707 ci: check for summaries dir before building message 2024-09-22 23:32:17 +01:00
c362e5d8fb ci: use github.event.workflow_run.id for CI summary comment 2024-09-22 20:48:02 +01:00
5aaea5b8ed ci: add link back to workflow summary in pr comment 2024-09-22 20:41:31 +01:00
1d6b79741e ci: add pr comment based on ci result 2024-09-22 19:31:01 +01:00
dafd20e182 ci: remove restore-keys for vcpkg and use local bootstrap 2024-09-22 10:50:27 -04:00
37e006b825 ci: use pull_request_target for lint workflows 2024-09-22 08:09:30 -04:00
2cf9da5ad5 ci: delete ChangeLog because it's redundant 2024-09-21 22:30:29 +01:00
3300e67913 ci: give write permission for PR comments 2024-09-21 07:24:39 -04:00
7e98714869 ci: lint and add comment to PR on fail 2024-09-20 19:21:23 +01:00
2d1f3496b7 ci: option to skip changelog lint in PR 2024-09-20 07:30:57 -04:00
6eacf0ec55 ci: Remove Google Drive upload, and Always upload to github 2024-09-18 15:09:32 -04:00
0220a481f2 Fix broken CI caused by renaming project to Deskflow (#7522)
* Bump CI

* Use 2 core arm runner

* Update ChangeLog

* Fixed filename `deskflowc.exe.manifest`

* Remove  .vscode/settings.json file

* Restore test values to make tests work (test values should not contain app name)

* Fixed syntax error in Windows watchdog

* Add `sonar-project.properties` file

* Change default core count

* Add default package prefix

* Default product name in CMake

* Tweak ChangeLog
2024-09-18 10:56:29 -04:00
ed1217e9cc Use Deskflow Name (#7519)
* Use Deskflow Name

* Remove business-oriented options from issue templates

* Remove business-oriented workflow

* Bump version to 3.0.0 (to avoid confusion with previously used version numbers 1.x & 2.x)

* Update readme to reflect new project name and goals

* Found some more "synergy" to rename

* Rename `synlib` to `app`

* Rename `syntool` to `deskflow-legacy`

* Rename `synwinhk` to `dfwhook`

* Rename dirs from synergy to deskflow

* Rename more "Synergy" files

* Rename app bundle ID

* Fixed copyright typo

* Rename only title in serial key dialog (to be moved downstream later)

* Preserve original serial key window for moving downstream

* Restore dialogs ready for moving downstream

* Rename `QDeskflowApplication` to `DeskflowApplication` (the Q is confusing)

* Restore Volker's original project name

* Fixed mimetype

* Fixed weird grammar

* Fixed (more) weird grammar

* Broken link, restoring (but we should move all links out of source)

* Broken link, restoring (but we should move all links out of source)

* Add write permission to valgrind-analysis.yml

* Restore AUR conflicts

* Apply Clang format

* Update ChangeLog

* Back out version change

---------

Co-authored-by: Nick Bolton <nick@symless.com>
2024-09-17 20:00:25 +01:00
462c4c242c Delete all .gcda files when integtests coverage fails (#7510)
* Delete all gcda files when integtests fail

* Update ChangeLog

* Test failure

* Move test dir creation to main

* Undo retry loop which didn't solve the issue

* Use `-fprofile-update=atomic` according to gcov bug 68080
2024-09-12 16:23:36 +01:00
fe16ba63fd Use GitHub vars to determine custom runner names (#7509)
* Use `WINDOWS_RUNNER` var to determine custom runner name

* Remove `if` step

* Change var to `CI_WINDOWS_RUNNER`

* Use other runner vars and fall back to free runners

* Update ChangeLog

* Use `CI_MAC_INTEL_RUNNER`

* Set Mac name depending on var

* Use `CI_LINUX_ARM_RUNNER`

* Change CI var to `CI_ENABLE_PACKAGING`

* Use exclusions to remove ARM runners when var not set

* Switch to `CI_USE_LINUX_ARM_RUNNER` var

* Exclude arm runners if `CI_USE_LINUX_ARM_RUNNER` not set

* Fixed path and actually capture `matrix` as var

* Fixed path

* Add debug step

* Kick build

* Add EOL delimiters

* Move action to composite action for reuse

* Make JSON output pretty

* Add shell prop

* Fixed output var name

* Cleanup debug

* Move debug to same step

* Kick build

* Use `needs` on other jobs

* Also depend unix on setup
2024-09-12 14:12:28 +01:00
f9287cddd1 Add run-retry action to workaround integtest gcovr issue (#7507)
* Add `run-retry` composite action to workaround `integtest` `gcovr` issue

* Update ChangeLog

* Add comment explaining retry
2024-09-12 10:20:53 +01:00
06d8787d56 Remove static link of libportal from Debian Trixie CI (#7505)
* Remove static link to libportal now that Debian 13 has 0.8.0

* Update ChangeLog

* Update ChangeLog
2024-09-11 21:06:51 +01:00
837bd3704b Option to static link libportal ahead of 0.8.x distribution (#7498)
* Dirty dirty hack so that beta testers can try Wayland on server ahead of libportal 0.8.x distribution

* Install deps for subprojects that are added with --meson-no-system

* Use `RuntimeError`

* Remove `packagefiles` from `.gitignore`

* Add ignored packagefiles

* Improve comment

* Update ChangeLog
2024-09-09 17:12:20 +01:00
adeb7aa009 Cache vcpkg local app dir to restore built OpenSSL (#7496)
* Cache `${{ env.LOCALAPPDATA }}/vcpkg`

* Update ChangeLog
2024-09-09 13:08:35 +01:00
95dc894b84 Use 16-CPU CI runner for FreeBSD (#7495)
* Use 16 core runner for FreeBSD

* Upgrade of Ubuntu version for runs-on

* Update ChangeLog

* Build with `-j16` on FreeBSD
2024-09-09 12:19:12 +01:00
735fb0e8c4 Add --config-toml arg for TOML config file (#7489)
* Add CLI11 lib

* Use newer arg parser for to add --config-toml arg

* Fix bug where coco doesn't run in elevated console

* Improve macro names

* Fixed incorrect macro name

* Improve coverage for TOML config load

* Allow legacy args and use toml config arg in launch.json

* Update ChangeLog

* Fail coverage workflow on integ test fail

* Remove line break
2024-09-06 21:03:19 +01:00
c2dd232564 Move issue check logic to GitHub script (#7486)
* Fixed new line strip regex

* Move issue check logic to GitHub script

* Fixed variable name issueBody
2024-09-06 14:49:13 +01:00
6b3b65be35 Strip out newlines in issue comment (not markdown) 2024-09-06 14:20:40 +01:00
0fe0532355 Use ISSUE_NUMBER env var for check support workflow 2024-09-06 14:17:31 +01:00
3963e77cd2 Fixed typo in COMMENT_BODY env var 2024-09-06 14:13:36 +01:00
b74eb9bfb4 Strip spaces from comment body for better formatting 2024-09-06 14:13:13 +01:00
e23722c07a Move issue body and number to env key in root of job 2024-09-06 14:03:51 +01:00
f0a5a9ce99 Match workflow name for cache key in issue-check-support 2024-09-06 14:01:11 +01:00
0c7f87fb2f Use unique cache key for issue check support 2024-09-06 14:00:39 +01:00
7208c7e901 Add missing init-python on issue check venv action 2024-09-06 13:58:52 +01:00
c30fbf9002 Use .venv dir for as Python venv and cache (#7485)
* Use .venv as Python venv dir

* Update refs to Python venv dir and use action to cache and setup

* Add missing shell: bash

* Source for Python deps

* Exclude .venv from lint

* Update ChangeLog

* Add cache-key arg for init-python

* Add missing "

* Use workflow specific Python cache names

* Fixed cache key for Linux

* Use bash if to make output clearer in case of skipping.

* Clearer debug output

* Add check for cache key

* Add missing shell

* Add SonarCloud and Valgrind venv cache

* Fixed typo
2024-09-06 13:50:59 +01:00
e7a6cc932e Restore missing with: in SonarCloud workflow 2024-09-06 13:49:01 +01:00
52b4786860 Move issue checker to Python script (#7484)
* Remove unnecessary submodules recursion

* Move issue checker to Python script

* Add workflow dispatch to test issue support workflow
2024-09-06 12:21:57 +01:00
2ad15cf3dc For support ticket related issue: Remove GITHUB_OUTPUT redirect and further improve matching 2024-09-06 11:12:09 +01:00
05ca97a202 Improve matching for support ticket related issue 2024-09-06 11:09:24 +01:00
de3b308677 Fixed workflow to check new issues if tech support needed 2024-09-06 11:02:55 +01:00
d1192fe02f Add new issue workflow (#7480) 2024-09-06 10:53:26 +01:00
ad330d7fba FreeBSD GitHub runner with vmactions/freebsd-vm@v1 (#7474)
* Add experimental BSD job to CI

* Remove container

* cd into ` synergy/synergy/`

* Change unix to bsd

* Use only run param and not prepare

* Install python3 on FreeBSD

* Add missing command to prepare param

* Add all the Unix-like BSD-derived

* Use latest python3 for NetBSD and DragonFly BSD

* Use env for cmd and correct prepare commands

* Add deps config for unix-like

* Install Python deps on Unix-like

* Return matching entry in `get_unix_like_os`

* Add cmake dep for cmakelang py module

* Back out Unix-like support in `install_deps.py` (Python is tricky on BSD)

* Back out BSD from config

* Create install_deps.sh script for BSD-derived

* Use .sh script instead of .py for BSD-derived

* Add other case and fixed syntax

* Use /usr/bin/env

* Use more available sh

* Restore debian command

* Fixed syntax error

* Remove prepare args

* Remove space

* Use which instead of command

* Add libX11 dep

* Add other BSD-derivatives

* Set CMAKE_REQUIRED_INCLUDES

* Fixed bad separator for CMAKE_REQUIRED_INCLUDES

* Add debug lines

* Set CMAKE_REQUIRED_LIBRARIES to lib names

* use CMAKE_REQUIRED_QUIET

* Set CMAKE_REQUIRED_FLAGS for BSD

* Message for BSD packaging

* Make PKG_CONFIG_FOUND optional

* Move debug to all OS

* Remove solaris for now, too many missing packages

* Add missing  override to XWindowsScreen.h

* Add PC_GLIB_INCLUDE_DIRS

* Fixed glib include

* Make libnotify optional

* Set CMAKE_LIBRARY_PATH

* Only run tests if toml++ available

* Also run integ tests

* Remove DragonFly (C++ version too old)

* Fixed NetBSD command

* Aww sucks. Well, I tried. Patches welcome

* Update ChangeLog

* Fixed README for OpenBSD, NetBSD, DragonFly BSD, Solaris

* Add missing case for SunOS

* Drop redundant virtual specifiers

* Print libs on FreeBSD

* Restore link_directories

* Beef up to ubuntu-24.04-16-core-x64, export QT_QPA_PLATFORM, improve comment

* Remove debug line

* Simplify debug text

* Restore ubuntu-latest

* Fixed really stupid typo

* Beef up with ubuntu-22.04-16-core-x64

* Revert "Beef up with ubuntu-22.04-16-core-x64"

This reverts commit 3de5773ef6c6eea99b93d3ee8448b0b95dc00dde.

* Add missing name

* Make .sh file primary deps file

* Tweaked deps instruction label
2024-09-06 10:03:34 +01:00
d277c80fd0 Simplify vcpkg caching and use system vcpkg (#7473)
* Fixed OpenSSL exe dir to use tools dir

* Simplify vcpkg caching and use system vcpkg

* Only use ref for version when ref is a tag

* Add condition for event input

* Add restore keys for vcpkg cache

* Improve step name for vcpkg_installed

* Use `windows-2022` runner

* Update ChangeLog

* Revert "Use `windows-2022` runner"

This reverts commit f9e00cbcb3588e58914d2b9e73b3c5734a12d329.
2024-09-04 20:26:47 +01:00
d9c5902442 Cache Python env on Windows CI 2024-09-04 20:23:15 +01:00
e4ed4a2f26 Trigger CI workflow with github.rest.actions 2024-09-04 18:18:26 +01:00
963980b392 Run CI workflow on 'Create tag' workflow run 2024-09-04 18:14:05 +01:00