Commit graph

4389 commits

Author SHA1 Message Date
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
c49614940e Remove run_cmd sudo wrapper for other platforms 2024-09-06 13:54:05 +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
Nick Bolton
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
Nick Bolton
2ad15cf3dc For support ticket related issue: Remove GITHUB_OUTPUT redirect and further improve matching 2024-09-06 11:12:09 +01:00
Nick Bolton
05ca97a202 Improve matching for support ticket related issue 2024-09-06 11:09:24 +01:00
Nick Bolton
de3b308677 Fixed workflow to check new issues if tech support needed 2024-09-06 11:02:55 +01:00
Nick Bolton
d1192fe02f
Add new issue workflow (#7480) 2024-09-06 10:53:26 +01:00
Nick Bolton
ca49855fc1
Add BUILD.md to get people started (#7479)
* Add `BUILD.md` file

* Improve wording

* Add note about broken packages

* Reorg package instructions

* Reorg package instructions (macOS first)

* Correct broken to outdated

* Fixed formatting

* Sync info with README

* Improve wording around development of the code

* Fixed typo

* Update ChangeLog
2024-09-06 10:52:21 +01:00
Nick Bolton
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
Nick Bolton
38536a9726
Improve history FAQ item on README.md (#7477) 2024-09-06 00:57:54 +01:00
Nick Bolton
ab4bd9dff1
Improve grammar in FAQ section of README.md 2024-09-06 00:16:06 +01:00
Nick Bolton
5ad35bb97c
Correct references to BSD in README.md 2024-09-05 21:33:34 +01:00
Nick Bolton
e9926230c2
Add missing Linux distro to README.md 2024-09-05 10:56:44 +01:00
Nick Bolton
6be1c06597
Fixed typos in README.md related to Unix-like 2024-09-05 10:55:24 +01:00
Nick Bolton
562f79eedb
Add officially supported OS list to README.md 2024-09-05 10:53:52 +01:00
Nick Bolton
45aa263af3
Update README.md to provide more community info (#7475)
* Update README.md to provide more community info

* Fixed typos

* Fixed header format

* Improve link text

* Improve wording around maintainers
2024-09-05 10:10:26 +01:00
Nick Bolton
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
Nick Bolton
d9c5902442 Cache Python env on Windows CI 2024-09-04 20:23:15 +01:00
Nick Bolton
e4ed4a2f26 Trigger CI workflow with github.rest.actions 2024-09-04 18:18:26 +01:00
Nick Bolton
963980b392 Run CI workflow on 'Create tag' workflow run 2024-09-04 18:14:05 +01:00
Nick Bolton
cccde10387 Merge branch 'master' of https://github.com/symless/synergy-core 2024-09-04 18:10:28 +01:00
Nick Bolton
1d6d60d2dd Create tag with push to trigger workflow 2024-09-04 18:10:26 +01:00
Nick Bolton
0bdb7ea2e1
Test file for merge (#7472) 2024-09-04 18:03:39 +01:00
Nick Bolton
c916dcde89 Move if from step if condition to bash syntax 2024-09-04 17:52:51 +01:00
Nick Bolton
7355ae6595 Fixed syntax for if in get-version action step 2024-09-04 17:50:03 +01:00
Nick Bolton
bcb6ee28bf Move get version logic to composite action 2024-09-04 17:43:20 +01:00
Nick Bolton
ea90deba96 Revert "Don't return master as version"
This reverts commit 2d62e97e33.
2024-09-04 17:37:52 +01:00
Nick Bolton
22e3d8763f Remove version field requirement for workflow dispatch 2024-09-04 17:27:22 +01:00
Nick Bolton
2d62e97e33 Don't return master as version 2024-09-04 17:24:03 +01:00
Nick Bolton
7132c5990b Don't build on master push 2024-09-04 17:23:51 +01:00
Nick Bolton
20343f9a16 Upload on tag push and not when master 2024-09-04 17:10:42 +01:00
Nick Bolton
2a469e5690 Run CI on master push 2024-09-04 16:57:34 +01:00
Nick Bolton
94d9baca2d
Use vcpkg to manage openssl dep instead of choco (#7471)
* Brighter red

* Move openssl to vcpkg.exe

* Revert "Move openssl to vcpkg.exe"

This reverts commit 36f39d916f3cc2c8ce779442bd964bd6af7edd69.

* Add missing copyright

* Fix copyright dates

* Remove openssl from choco

* Install openssl using vcpkg

* Add deps for vcpkg

* Add missing vcpkg manifest

* Revert "Add deps for vcpkg"

This reverts commit c266d29c2cec4474a181b89c2f759b62ed67db10.

* Make vcpkg Windows only

* Improve comment about vcpkg

* Remove unused var

* Add caching for vcpkg

* Reorg launch.json

* Remove static env var for openssl on Windows

* Add openssl dep to vcpkg

* Update ChangeLog

* Add OpenSSL include dir

* Remove pointless choco cache

* Remove vcpkg downloads

* Remove wixtoolset for CI already installed on GitHub runners

* Use `Remove-Item` instead of `rmdir`

* Move cmake and ninja out of choco

* Revert "Move cmake and ninja out of choco (winget not supported on GitHub runner)"

This reverts commit a65c02d275e58705b8cd86fac72629284191d737.

* Move cmake and ninja to winget and don't use choco on CI

* Remove winget action

* Use scoop on CI and winget locally

* Use `seanmiddleditch/gha-setup-ninja` for Ninja

* Improve comments

* Install Ninja before deps

* Use system vcpkg if installed

* Revert "Use system vcpkg if installed"

This reverts commit 4ddee1c66e8cace458c047285a70d2f98cf9d82c.

* Add comment about why we're using local vcpkg

* Fixed comment about VC++

* Improve config comments

* Delete dead code

* Improve comment about vcpkg/buildtrees
2024-09-04 16:52:37 +01:00
Nick Bolton
0eadaec2d8
Port EI fixes to use pipe2 instead of pipe and fcntl (#7470)
* Kill build to prevent multiple processes running in dev

* Port EI fixes to use `pipe2` instead of `pipe` and `fcntl`
2024-09-03 20:18:13 +01:00
Nick Bolton
cd63a29c19
Option to link against local libportal and other subprojects (#7469)
* Link against local libei and libportal and use main for both

* Change to `--meson-no-system`

* Add missing libportal dep

* Python trick I learned from Peter Hutterer :D

* Remove qt6-base-private-dev not needed

* Remove unused HAVE_LIBEI_SEQUENCE_NUMBER

* Add hack to force all libportal functions on for local build

* Always wipe instead of reconfigure

* Fixed function name in deps

* Update ChangeLog

* Fixed formatting
2024-09-03 19:26:44 +01:00
Nick Bolton
b128863c67
Load server or client args from synergy-config.toml (#7467)
* Load args from .toml file

* Remove .toml files

* Handle _ arg as no key

* Remove dotenv-cpp

* Treat special last arg specially

* Improve restart warning

* Remove rogue include

* Move TOML config loader to new class

* Merge config files into one

* Add override to virtual functions

* Tidy up App decl and add missing overrides

* Add comments to organize function types

* Fixed: config.h doesn't work on Windows

* Move var position

* Improve includes in app classes

* Update ChangeLog

* Restore position of configure_file call

* Remove new entries in .in file
2024-09-02 23:48:57 +01:00
Nick Bolton
4b4bfc4bc8 Use github.rest.git instead of github.git 2024-09-02 16:21:54 +01:00
Nick Bolton
03fbc709a0 Fixed name for create-tag.yml and fixed typo 2024-09-02 16:19:55 +01:00
Nick Bolton
d063e08942
Also cut + char for SHORT_VERSION var used on upload (#7465)
* Also cut + when creating `SHORT_VERSION` var for upload

* Update ChangeLog
2024-09-02 16:18:34 +01:00
Nick Bolton
22498f6985 Add missing #7464 from ChangeLog 2024-09-02 16:09:35 +01:00
Nick Bolton
a05cb97074
Restore --only-python arg to only install Python deps (#7464) 2024-09-02 16:08:39 +01:00
Nick Bolton
996fb5c21b
Only create tags (not releases) when merging PRs into master (#7462)
* Create a tag instead of a release

* Rename script to 'tags' (not 'release')
2024-09-02 14:14:02 +01:00
Nick Bolton
8778a305f4
More robust choco install and helpful install_deps.py messages (#7461)
* Only show error/success conditionally

* Make choco install more robust

* Improve deps script to remind about restarting shells

* Add note about Mac Qt

* Update ChangeLog
2024-09-02 14:00:24 +01:00