Commit graph

347 commits

Author SHA1 Message Date
sithlord48
1835a2cab6 ci: use pre-release for continuous to stop it from grabbing latest tag also 2024-11-01 10:16:24 +00:00
sithlord48
8c314ad82c ci: Use GITHUB_TOKEN in place of PAT 2024-10-31 12:39:39 +00:00
Nicola
1880a157b6 ci: added updated winget package submission 2024-10-30 13:28:38 +00:00
Chris Rizzitello
915760b899 chore: add link to wayland discussion
added an additional link to the linux wayland question pointing to the discussion
2024-10-28 11:56:08 +00:00
sithlord48
1aa6e8c6bb ci: add fedora-41 2024-10-23 14:13:37 +01:00
Nick Bolton
6846a97eec ci: Drop Docker container builds (not enough time saved)
Add user 'build' for arch to make a package
2024-10-23 14:13:37 +01:00
sithlord48
01565ba9a9 ci: make sure git is installed before calling fancy-checkout
When we want to use the base runners they do not have git
   Install devscripts for debian images that will make packages
2024-10-23 14:13:37 +01:00
sithlord48
a406b51f96 ci: one matrix to run them all 2024-10-22 12:29:17 -04:00
sithlord48
b2532c81b9 ci: Add install-dependencies action 2024-10-22 12:29:17 -04:00
sithlord48
a362174e73 ci: only do release job when run on master 2024-10-22 09:42:32 -04:00
sithlord48
7b7ff81a9f build: Require libei and libportal from the system on linux
Removing remaining meson parts
2024-10-22 09:42:32 -04:00
sithlord48
f967b9ed46 ci: use fancy checkout action 2024-10-21 15:24:06 -04:00
Nick Bolton
5d183c98e9 ci: Bump containers for analyze workflows 2024-10-21 14:15:05 -04:00
sithlord48
9ea143c1df ci: unify cmake config command into a base env.CMAKE_CONFIGURE 2024-10-20 21:46:36 +01:00
sithlord48
a6b5879df3 ci: new mac os ci 2024-10-20 21:46:36 +01:00
Nick Bolton
1b904e7c02 ci: Normalize CI step names, descriptions, etc
Also:
- Surfaced the comment about the Kitware repo so it's more visible
- Remove the hard-coded CMake version in comment which is likely to get out of sync and confuse someone
2024-10-20 02:01:58 +01:00
sithlord48
bf4a762124 build: use vcpkg for all depends, vcpkg action on ci to cache 2024-10-19 03:07:13 -04:00
Nick Bolton
7199e5f170 docs: Checkbox for continuous build on bug template 2024-10-18 19:09:07 -04:00
Nick Bolton
6395630964 ci: Make integtests optional on FreeBSD and reduce CMake arg dupe
- Integration tests are flakey by nature, make them optional.
- This also includes a mini refactor of `ci.yml` to reduce some duplication.
2024-10-18 21:11:56 +01:00
sithlord48
246f5d59ab ci: remove unused cache step 2024-10-18 13:57:11 -04:00
Nick Bolton
add8d5370a ci: Remove CMake presets 2024-10-18 18:23:26 +01:00
sithlord48
33b14ccc5c ci: cache vcpkg
Fixes:7712
2024-10-18 17:29:54 +01:00
sithlord48
ba5eaa4c90 build: Require cmake 3.24
Fixes:#7739
2024-10-18 15:22:35 +01:00
sithlord48
99251ad867 chore: Update feature request template
For a feature request we only want to know about the proposed feature
2024-10-17 21:39:48 +01:00
sithlord48
52f616a15d ci: vcpkg cache working 2024-10-16 20:58:42 +01:00
sithlord48
da6b3942ae build: Linux packages with proper names 2024-10-16 16:51:24 +01:00
Nick Bolton
8424ffa438 ci: Ignore .editorconfig in workflows 2024-10-15 23:08:28 +01:00
Nick Bolton
78d086369b ci: Always run PR comments job 2024-10-15 22:49:35 +01:00
Nick Bolton
5f78d175c9 ci: Ignore paths for CodeQL Analysis 2024-10-15 22:19:02 +01:00
Nick Bolton
2b930a7b03 ci: Remove cmake-format linter 2024-10-15 22:03:15 +01:00
Nick Bolton
28c8aae9af ci: More consistent code style in ci.yml 2024-10-15 19:14:06 +01:00
Nick Bolton
3cc43bf1ce docs: Add other build type to bug report template 2024-10-15 18:44:34 +01:00
sithlord48
6af331bd93 ci: clearer and cleaner steps 2024-10-15 14:17:33 +01:00
Nick Bolton
f2f75ae7b9 ci: Fixed error count logic for test summary 2024-10-14 18:06:36 +01:00
Nick Bolton
572cc80577 ci: Restore pull_request trigger for codeql-analysis.yml 2024-10-14 18:00:17 +01:00
Nick Bolton
3525b8a686 docs: Fixed minor typos in the bug report template 2024-10-14 17:06:24 +01:00
sithlord48
26926a4a6a ci: run on tags v* and not on cron or dispatch 2024-10-14 09:22:28 -04:00
sithlord48
3991fc0d25 ci: use git version for packages 2024-10-14 09:22:28 -04:00
sithlord48
e4b348c183 ci: make sure checkouts fetch tags 2024-10-14 09:22:28 -04:00
sithlord48
181c34e662 ci: attempt releases 2024-10-13 17:51:18 -04:00
sithlord48
ccfff7015a ci: working vcpkg cache 2024-10-13 16:15:33 -04:00
Nick Bolton
6b641a432a ci: Remove dead test-dist-upload.yml file 2024-10-13 15:42:23 -04:00
sithlord48
10873eddcd ci: lint-clang as composite action 2024-10-13 20:13:04 +01:00
sithlord48
5b76982093 ci: lint-cmake as composite action 2024-10-13 20:13:04 +01:00
sithlord48
c498e148b8 ci: do not auto create version tags on push to master 2024-10-13 20:13:04 +01:00
sithlord48
abe8146631 ci: Run CI when landing to master branch
No longer run sonar or codeQL on push to master
    They are auto run by the CI job

s
2024-10-13 20:13:04 +01:00
sithlord48
ce35234f18 chore: Add issue not about mac os signing 2024-10-13 14:02:34 -04:00
sithlord48
c5247a15c7 chore: add note about known wayland issues in bug_template 2024-10-13 14:01:05 -04:00
sithlord48
9604a9e747 ci: test results skipped if dependant skipped 2024-10-13 11:49:56 -04:00
Nicolas Fella
fe67b92cdc build: Drop warnings_as_errors
This should not be used

It results in build failures when using different environments/toolchains that produce new warnings

This can especially happen on compiler or dependency updates
2024-10-12 22:13:50 -04:00
sithlord48
14dfcb672d ci: Allow ci to skip running if only specific files are changed 2024-10-12 20:37:17 -04:00
sithlord48
6c3b2b3e6b ci: Linting must pass before other jobs are run 2024-10-12 20:37:17 -04:00
Nicolas Fella
f6b9a5f204 build: Don't force CMAKE_INSTALL_PREFIX
This should only ever be set from the outside, not the project itself

Distribution build systems will set it to the right value

This breaks installing it to a custom if desired
2024-10-12 12:59:04 -04:00
sithlord48
02c5418b9e build(cmake): Require SSL 1.1.1 or higher
Link using OpenSSL provided alises
  Remove Windows specifc check ssl macro for simpler check
2024-10-12 14:23:56 +01:00
Nick Bolton
132e1975d3 ci: Remove cache of Python .venv as it added complexity 2024-10-11 13:24:08 +01:00
Nick Bolton
44bd69fdc8 ci: use sonarsource/sonarcloud-github-c-cpp 2024-10-01 18:41:40 +01:00
Nick Bolton
6bb1bcad8c chore!: Relocate commercial code downstream 2024-10-01 14:39:05 +01:00
James Spurin
1003e07854 feat: Update onMouseMoveSecondary to allow offset adjustments 2024-09-24 18:53:30 +01:00
Nick Bolton
2e2523d6b8 ci: lookup pr number by head sha for ci comment 2024-09-23 20:03:37 +01:00
Nick Bolton
806ef46393 ci: use job summary instead of pr comment 2024-09-23 17:12:07 +01:00
Nick Bolton
bd75e0a874 ci: use braces block for formatting in ci comment 2024-09-23 01:44:13 +01:00
Nick Bolton
1d90e0780a ci: fixed syntax error in ci comment workflow 2024-09-23 01:28:40 +01:00
Nick Bolton
b1da95757b ci: handle files with same name in ci comment workflow 2024-09-23 01:24:00 +01:00
Nick Bolton
1bfdb8f707 ci: check for summaries dir before building message 2024-09-22 23:32:17 +01:00
Nick Bolton
c362e5d8fb ci: use github.event.workflow_run.id for CI summary comment 2024-09-22 20:48:02 +01:00
Nick Bolton
5aaea5b8ed ci: add link back to workflow summary in pr comment 2024-09-22 20:41:31 +01:00
Nick Bolton
1d6b79741e ci: add pr comment based on ci result 2024-09-22 19:31:01 +01:00
Nick Bolton
dafd20e182 ci: remove restore-keys for vcpkg and use local bootstrap 2024-09-22 10:50:27 -04:00
Nick Bolton
37e006b825 ci: use pull_request_target for lint workflows 2024-09-22 08:09:30 -04:00
Nick Bolton
2cf9da5ad5 ci: delete ChangeLog because it's redundant 2024-09-21 22:30:29 +01:00
Nick Bolton
3300e67913 ci: give write permission for PR comments 2024-09-21 07:24:39 -04:00
Nick Bolton
fcd0d63d7c docs: add build type to bug report form 2024-09-21 07:02:56 -04:00
Nick Bolton
7e98714869 ci: lint and add comment to PR on fail 2024-09-20 19:21:23 +01:00
Nick Bolton
2d1f3496b7 ci: option to skip changelog lint in PR 2024-09-20 07:30:57 -04:00
Nick Bolton
6eacf0ec55 ci: Remove Google Drive upload, and Always upload to github 2024-09-18 15:09:32 -04:00
Nick Bolton
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
Chris Rizzitello
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
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
Nick Bolton
c8f102883a Add 'unanswered' tag to new issues 2024-09-06 21:20:03 +01:00
Nick Bolton
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
Nick Bolton
1c71b4f0f3 Fixed typo in issue template related to discussion 2024-09-06 14:56:38 +01:00
Nick Bolton
3458545ae4 Merge branch 'master' of github.com:symless/synergy 2024-09-06 14:55:31 +01:00
Nick Bolton
683635566d Reframe answer related to discussions on issue templates 2024-09-06 14:55:29 +01:00
Nick Bolton
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
Nick Bolton
6b3b65be35 Strip out newlines in issue comment (not markdown) 2024-09-06 14:20:40 +01:00
Nick Bolton
0fe0532355 Use ISSUE_NUMBER env var for check support workflow 2024-09-06 14:17:31 +01:00
Nick Bolton
3963e77cd2 Fixed typo in COMMENT_BODY env var 2024-09-06 14:13:36 +01:00
Nick Bolton
b74eb9bfb4 Strip spaces from comment body for better formatting 2024-09-06 14:13:13 +01:00
Nick Bolton
e23722c07a Move issue body and number to env key in root of job 2024-09-06 14:03:51 +01:00
Nick Bolton
f0a5a9ce99 Match workflow name for cache key in issue-check-support 2024-09-06 14:01:11 +01:00
Nick Bolton
0c7f87fb2f Use unique cache key for issue check support 2024-09-06 14:00:39 +01:00
Nick Bolton
7208c7e901 Add missing init-python on issue check venv action 2024-09-06 13:58:52 +01:00
Nick Bolton
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
Nick Bolton
e7a6cc932e Restore missing with: in SonarCloud workflow 2024-09-06 13:49:01 +01:00