Commit Graph

168 Commits

Author SHA1 Message Date
Nick Bolton
bec38ab47b
Re-implement packaging for GitHub workflows (Windows) (#7360)
* Add new version env vars to example

* Remove test file

* Move CMake packaging to separate module and configure OpenSSL path for Windows

* Make VS Code CMake build task default

* Generate Microsoft-friendly 4-digit version number

* Update macOS bundle .plist with build year variable

* Use correct OpenSSL path and fixed various MSI variables

* Use correct rest/dist dir for MSI

* Add version .rc file for Windows

* Use macro instead of over-complicated version query command

* Made cmd_utils more secure by defaulting to no-shell and no-print

* Add certificate management module

* Implement packaging script on Windows

* Refactor Mac packaging script to use new cmd_utils args and new cert module

* Update ChangeLog

* Change PFX env vars and add to CI

* Use import as instead of from lib to solve resolve issue

* Allow custom certificate extensions

* Check for package version when using gdrive

* Make version number required

* Add missing shell

* Add missing gdrive value in test

* Find OpenSSL dir based on openssl binary

* Only use first OpenSSL entry

* More verbose logging

* Improve logging

* Only use env var if not empty

* Fixed wrong var

* Fixed macOS GitHub artefact name

* Change filename format to match new convention
2024-06-28 09:35:18 +00:00
Nick Bolton
ab57fac2a7
Use org token instead of regular token to create releases (#7358) 2024-06-26 17:29:57 +01:00
Nick Bolton
7fa31f9c54
Match release branch with release/** pattern (#7357)
* Test

* Fixed release branch match
2024-06-26 17:04:00 +01:00
Nick Bolton
7103bbed6d
Re-implement CI auto version increment for packaging (#7354)
* Only install Python deps with deps script

* Remove hard-coded Qt version in CI

* Add example .env

* Improve comments in .env file

* Simplify config reader and Choco CI config

* Actually return the config value

* Move deps before Qt version env call

* Remove `self.`

* Move venv ensure to main

* Fixed arg

* Move config import to function

* Move ensure_module to function

* Simplify over-complicated `Version.cmake`

* Move code to `github` module

* Use `symless/next-version-action`

* Make CMake version file even simpler

* Set version from tag

* Create release when master or release branch

* Don't run CI on master push, only release

* Fixed bac macro

* Use new version values

* Handle empty version env var

* Also strip version file value

* Remove quotes

* Add @master to action

* Read version from file

* Simplify version file read

* Fixed typo in env var

* Remove unused var

* Delete legacy build number action

* Fixed env var

* Version file read shouldn't be needed

* Remove weird and unnecessary include path

* Update ChangeLog

* Remove unused config value

* Better name for changelog check

* Delete broken Flatpak CI

* Run stale issue cron at midnight

* Update ChangeLog

* Add version input for manual run

* Print next version

* Fetch all tags

* Use more idiomatic approach

* Set to pre-release when master

* Remove unnecessary `commitish`

* Fixed wrong ID

* More specific IDs

* Reduce config needed for upload

* Only /release can be non-pre-release

* More discreet package path for gdrive

* Try without setting path

* Remove seemly unused step

* Better name for Qt version step

* Fixed bad var ref

* Better name for package dir

* Fixed bad input name

* Add missing shell

* Workflow to test upload action

* Remove fetch tags

* Use bash to cut version

* Remove name and make conditional

* Replace deprecated set-output

* Fixed env var name

* Missing dir sep char

* Add comment to test workflow

* Improve input descriptions

* Replace deprecated set-output
2024-06-26 15:46:42 +00:00
Nick Bolton
17c64e2f3a
Workflow to test dist dir (#7356) 2024-06-26 14:13:53 +01:00
Nick Bolton
ab3ea56980
Add workflow_dispatch for release workflow (#7355) 2024-06-25 22:24:22 +01:00
Nick Bolton
865063b77c
Re-implement packaging for GitHub workflows (macOS) (#7353)
* Restore Azure macOS dist scripts

* Move steps to workflow for testing

* Always upload to GitHub

* Add codesign ID

* Echo codesign ID

* Add cert import code

* Stub file for Mac

* Self-install pyyaml and choco

* Auto add env var on Windows

* Auto add CMAKE_PREFIX_PATH to .zshrc

* Shorter var names

* Append env var instead of replace

* Only set env var if not CI

* Improve function names and print output

* Simplify Linux package command

* Support continuation sequence

* Add note about Windows

* Remove dead doc file

* Tidy up version file and move to .env format

* Use Python venv for deps

* Only use venv on Mac

* Rename package script for all OS

* Add package and dist steps, and use common upload

* Remove version source

* Fixed vars not available

* Fixed python paths

* Use RuntimeError which is sufficient

* Remove dead code

* Add extras command for Linux

* Always install deps on Linux

* Move Python deps to CI

* More env bootstrapping, ugh

* Forgot to return!

* Simplify code

* Use shell

* Simplify command

* Skip sudo if no sudo

* Update package managers

* Fixed Fedora package name

* Tidy up commands

* Use newer upload artifact

* Strip don't trim!

* Check for version file and reduce log verbosity

* Remove CentOS 7.6

* Print more info about return code and log more to stderr

* Install certificate on macOS

* Better errors for no env var

* Implement Mac signing and notary

* Move dmgbuild load

* Simplify notary

* Rename dist files to same as dest

* Fixed paths for dist

* Move checked-in dist files to res (dist is meant to be a temp dir)

* Fixed Mac path in CMake

* Fixed dmg path

* Format Python

* Ignore import warnings and move function

* Fixed cmake paths

* Add missing env var secrets

* Remove extensions from GH upload

* Make deps.yml general purpose config

* Add cspell config

* Pass codesign ID

* Use new general config file

* Sign bundle on Mac

* Move imports to functions

* Escape chars in docs

* Fixed config key accessor

* Change module import order

* Move file to tmp dir in workflow dir

* Persist temp dir

* Add tmp dir to ignore

* Flush stdio before running process

* Trying quotes around env values

* Add codesigning certificate validation for Mac signing

* Revert "Trying quotes around env values"

This reverts commit 0dd741e8cd.

* Extract codesign verify

* Fixed version number

* Ignore .cache dir

* Fix macro name

* Package name with version number and arch

* Improve package function readability

* Change order of vars

* Testing upload to GDrive

* Add missing return code

* Use positional args and declare error

* Use machine instead of arch and remove build from filename

* Remove redundant build jobs

* Replace massively over-complicated `build_version.py` script

* Move version info to env module

* Use version info script

* Fixed: too many values to unpack

* Chmod version script

* Use shebang

* Don't check return code on Linux

* Fixed function name

* Convert to GitHub specific script

* Env vars must be after configure

* Fixed Windows env var command

* Remove && from deps command so it's not conditional

* Fixed position of set env

* Change order of env script

* Only upload when not draft

* Test

* Tweak config

* Fixed if condition

* Don't package in draft (Windows and Linux)
2024-06-24 09:36:30 +00:00
Nick Bolton
8f13ce8e7a
Combine GitHub workflows to reduce config duplication (#7352)
* First attempt merging CI test

* Remove older versions of Linux

* Blend Docker containers and GitHub runners

* Test older configure/build method for Windows

* Re-add old Windows workflow

* Use legacy CMake method for more distros

* Rename image to container

* Reduce config dupe

* Fixed logic for configure

* Use newer build command for Windows

* Move full container name back to matrix (yuk)

* Move GIT_COMMIT to common env

* Use more specific Windows runner name

* Fine-grained timeouts for Mac

* Fixed unit test path for Windows

* Rename CI workflow

* Beginning of macOS dist action

* Update ChangeLog

* More triggers for CI workflow

* Attempt to fix test path on Windows

* Move dist-macos action

* Add dir command for testing

* Remove `test-` job prefix

* Bump msbuild action and try modern cmake again

* Composite actions don't support defaults... grr

* Remove dir diag command

* Trying to use Choco again for VS dep

* Don't skip ninja

* Flush stdout

* Add cl to PATH

* Trying out ilammy/msvc-dev-cmd@v1

* Use @v3 checkout for older Linux

* Fixed comment typo

* Remove dead scripts

* Improve env var names

* Run strip from build dir

* Split out deps script to lib files

* Remove stub action

* Remove dist step for now
2024-06-19 17:48:18 +01:00
Nick Bolton
d0a4c3d7a0
Use deps script to make life easier for contribs (#7351)
* Use deps script to make life easier for contribs

* Make readme more developer friendly

* YAML file to describe Linux deps

* Silent fail for yaml module (Python 3.6+)

* Move Qt install to deps script

* Update readme to add Windows command

* Fixed Linux package name

* Simplify env vars for workflow

* Exclude scripts from SonarCloud

* Move all deps config to .yml file

* Fixed exclude glob

* Simplify quickstart

* Fixed macOS deps config key name

* Fixed bug in Linux config read

* Use backslash for consistency

* Change SonarCloud path to /build/

* Fixed dep name

* Exclude scripts in CMake coverage

* Move script coverage exclusion to online config

* Use try/except instead of checking return value

* Fixed comment typo
2024-06-14 15:32:47 +00:00
Nick Bolton
444b7d764e
Repair macOS CI workflow ahead of combining all CI workflows (#7350)
* Test

* Fixed Mac image names

* Version lock to macOS 14

* Change name of Homebrew Qt package

* Use CMake to build

* Remove dep already installed

* Remove version source

* Remove env var not needed

* Add homebrew path to CMake presets

* Revert "Add homebrew path to CMake presets"

This reverts commit 6b1342cdc2.

* Add Qt prefix to workflow

* Upgrade CodeQL analysis to v2

* Rename SonarCloud workflow for convention

* Delete test file

* Upgrade CodeQL analysis to v3
2024-06-11 11:48:15 +01:00
Nick Bolton
ef31d3e21b
Script to install deps (Windows only for now) (#7331)
* Script to install deps (Windows only for now)

* Set runner temp dir for choco

* Add missing os import

* Modify for CI

* Update CL

* Improve logging

* Update workflow to install deps via script

* Explain 3.1.1 version lock
2024-01-19 14:44:50 +00:00
Nick Bolton
29e66773c8
Reset error state before calling Process32Next (#7328)
* Convenience script to install daemon

* Use -p when re-launching with runas to keep window open

* Align new script with PEP 8

* Add more args for flexibility

* Add task to reinstall Windows daemon

* Fixed mistake in continue message

* Close task window after running script

* Reset error state before calling Process32Next

* Update CL

* Increase Windows CI timeout

* Bump timeout again due to choco
2024-01-16 17:16:26 +00:00
Nick Bolton
d34d9eef86
Add timeout to all GitHub workflows (#7325)
* Add 10 min timeout to all workflows

* Update ChangeLog

* Set analysis jobs to 20 min timeouts

* Update ChangeLog
2024-01-11 17:44:42 +00:00
Nick Bolton
d4133d1110
Use C++20 and CMake presets (#7322)
* Create tasks.json

* Delete gui.pro

* Swallow any exceptions from stopDesktop

* Upgrade to C++20

* Update ChangeLog

* Remove old versions of Ubuntu

* Ignore VS Code workspace

* Restore original CodeQL job name

* Add problem matcher and suppress warnings from within old CMake lib

* Bump CMake min version to 3.5

* Remove useless cmake_minimum_required

* HACK: temp comment out failing code

* Bump Qt to 5.12.6

* Delete tasks.json

* Create CMakePresets.json

* Fixed Qt link error: The input line is too long.

* Fixed invalid call to map erase

* Fixed incorrect use of RegCreateKeyEx

* Add VS Code tasks.json for cmake build

* Store `desktop` in char buf before using it

* Generate compile_commands.json

* Restore indentation

* Revert "Restore indentation"

This reverts commit d9f495460f.

* Restore original indentation (for now)

* Create extensions.json
2024-01-11 00:26:39 +00:00
Nick Bolton
55f68ed3e9
Switch to GitHub hosted Mac M1 runner (#7321)
* Switch to macos-latest-xlarge

* Improve job names

* Update create-release.yml

* Fixed workflow job names

* Further improve workflow naming

* Remove double checkout

* Rename Mac 11 workflow

* Remove redundant word

* Update ChangeLog

* Add matrix names for macOS

* Create test

* Delete test
2024-01-09 16:21:13 +00:00
Nick Bolton
69e77dcb54
Move build_version.py script to scripts dir (#7320)
* Delete job-build-raspberry-pi.yaml

* Update ChangeLog

* Delete job-test-raspberry-pi.yaml

* Restore CI/build_version.py

* Move build_version.py to scripts dir

* Update refs to build_version.py

* Update ChangeLog
2024-01-09 12:55:55 +00:00
Nick Bolton
fe8f405fe8
Remove workflows for slow self-hosted RPi runners (#7319)
* Delete job-build-raspberry-pi.yaml

* Update ChangeLog

* Delete job-test-raspberry-pi.yaml
2024-01-09 12:21:06 +00:00
Nick Bolton
daf9292c80
Remove Azure Pipelines config entirely (#7318)
* Remove Azure Pipelines

* Update ChangeLog
2024-01-09 12:13:11 +00:00
Nick Bolton
4c1d5daa00
Bump sonar-scanner-cli to 5.0.1.3006 (#7317)
* Bump sonar-scanner-cli to 5.0.1.3006

* Update ChangeLog
2024-01-09 11:46:01 +00:00
Nick Bolton
31775622f3
Fix CodeQL workflow: Failed to perl 404 Not Found (#7313)
* Try running apt-get update first

* Update ChangeLog
2024-01-09 10:06:46 +00:00
Nick Bolton
1ca66588c5
Delete unused Jira workflow (#7312) 2024-01-08 12:50:24 +00:00
Kyle Bloom
446b0a2e95
Update workflows (#7283)
* Update test actions

* Format stale issues

* Format jira issues workflow

* Format changelog check workflow

* Format build workflows

* Format create build

Also add make full action to remove core installs

* Format codeql analysis

* Add .nvmrc

* Update changelog

* Add concurrency group to CodeQL

* sudo install

* Update to windows latest

* Upgrade fedora distro list

* Add arch to runtime matrix

* Fix path for m1 builds

* Add enterprise and business flags
2023-09-25 17:26:06 +01:00
Kyle Bloom
33968c6dd3
Change name of flatpak uploaded to server (#7263) 2023-05-17 09:44:08 +01:00
Serhii Hadzhilov
c6e838bb00
Fix backward compatibility for m1 build (#7262)
* Fix backward compatibility for m1 build

* Update ChangeLog
2023-05-09 11:33:37 +03:00
Nick Bolton
9cedc57dc3
Create stale-issues.yml 2022-10-15 11:03:10 +01:00
Kyle Bloom
14513c8c48
Update macos workflow to use macos-latest (#7210)
* fix: Update macos workflow to use macos-latest

* chore: Update changelog
2022-08-04 09:43:31 +01:00
Kyle Bloom
0d7bc0dce9
Change flatpak name (#7187)
* Change flatpak name

* Update changelog

* Remove PR build

* Remove SYNERGY_DEB_VERSION creation
2022-06-08 15:59:50 +03:00
Kyle Bloom
1b346c4cb0 Change action condition to release 2022-05-27 15:56:27 +01:00
Daun Chung
cae96765cb
flatpack workflow to build flatpak installer (#7177)
* flatpack workflow to build flatpak installer

* rename flatpak build name

* changing job-build-flatpak, disabling other job-tests meanwhile

* update apt before attempting to install flatpak

* changing install command

* adding logs for installing flatpak

* running installation as root

* running installation as root - for each command

* attempting to use github action to build flatpak

* fix typo on name

* typo in image

* adding privilege option and fixing manifest path

* changing manifest-path

* uploading bundle to artifact

* changing synergy.desktop for flatpak build

* adding versioning to flatpak bundle and upload to bin storage on release

* version info fix

* running build_version as root

* adding __w to safe directory

* adding git config safe directory command to builder

* testing which part of version info is breaking

* falling back to local build of flatpak

* running only the normal synergy

* investigating build_version.py

* investigating build_version.py 2

* investigating build_version.py 3

* checking if raspberry pi build is working correctly

* get subprocess error

* printing subprocess error

* disabling try catch in version

* running git rev-list --tags command

* running git rev-list --tags command

* disabling other tests

* trying to run extra step in gitaction

* trying to remove extra step in gitaction

* fixing issues with subprocess

* try to run git rev-list

* test

* ignore versioning

* run original flatpak

* testing various build options

* attempting to run flatpak through raspberry

* raspberry flatpak installation 1

* fixing tabs in flatpak build

* trying apt over apt-get

* removing sudo from build process

* removing apt update

* trying to build without versioning

* testing build without publish

* testing

* adding fetch-depth in checkout

* checking out with v3

* getting flatpak to run without github action

* using ubuntu20.04 container

* attempting to add __w into safe directory

* adding dependencies installation

* remove sudo from installing dependencies

* removing all sudo commands from flatpak install

* moving all the apt-get installs in dependencies job

* add yes response to flatpak platform & sdk install

* proper install command for flatpak builder

* flathub input yes to flatpak builder install

* check if flatpak folder exist

* adding flatpak using apt-get

* add privilege option in docker

* removing flatpak finalize build / remove com.symless.Synergy

* listing flatpak dir

* testing to publish flatpak

* checking the directory for flatpak file

* correcting the path for scp action

* attempting to create a specific file in scp

* flatpak workflow cleanup

* cleaning up

* adding changelog info and changing flatpak patch files location

* fedora add safe directory

* creating business/enterprise YAML to replace based on env var

* build test

* disabling tests

* fixing YAML struct

* disabling replace action to see if its causing issue

* changing cp command without backslash

* checking if condition syntax

* uncommenting error at build_version

* fixing file location

* cleaning up actions

* changing workkflow to use .yml file without copying

* finalizing git action

* Remove git safe directory

* Add final line to missing files

* Move safe directory workaround

* Minor cleanup for flatpak files

Co-authored-by: Daun Chung <daunchung@github.com>
Co-authored-by: Kyle Bloom <kyle@symless.com>
2022-05-27 15:42:01 +01:00
Kyle Bloom
bd82dc39e9
Add fedora 36 build (#7181)
* Add fedora 36 build

* Update changelog

* Add fedora 36 test
2022-05-27 15:39:42 +01:00
Serhii Hadzhilov
c92ac1a71e
SYNERGY1-1497 Fix memory leak on macOS (#7178)
* SYNERGY1-1497 Fix memory leak on macOS

* Update ChangeLog

* Fix Fedora build
2022-05-24 12:36:06 +01:00
Kyle Bloom
d3ab180df6
Show all Raspberry PI builds (#7174)
* Try adding full matrix

* Remove PR build

* Update changelog

* Reset indentation
2022-05-19 11:57:13 +03:00
Kyle Bloom
bb31d11deb
Fix build issue with raspberry pi's (#7173)
* Minor change to deb-changelog

* Fix bash commands

* Update changelog

* Add comment explaining pass
2022-05-18 10:57:29 +03:00
Kyle Bloom
5711a5346f
Add changelogs to deb's (#7167)
* Add changelogs to deb's

* Update changelog

* Fix code smell
2022-05-12 09:27:59 +01:00
Kyle Bloom
a12cc175eb
Synergy3-1505 Add new distros to CI (#7162)
* Add new distros to CI

* Update testing workflows

* Checkout repo recursively

* Update changelog

* Github issue
2022-05-03 20:04:21 +03:00
Kyle Bloom
90847d064a
Brew bundle (#7161)
* use brew bundle to cleanly install macos deps

* use brew bundle to install deps

* Update changelog

* Update changelog for #7144

Co-authored-by: Stephen <stephengroat@users.noreply.github.com>
2022-04-28 18:53:00 +03:00
Serhii Hadzhilov
8ea7d05d85
SYNERGY3-203 Build fix (#7160)
* SYNERGY3-203 Fix azure pipelines

* SYNERGY3-203 Fix raspberry pi build

* SYNERGY3-203 Fix Linux build

* SYNERGY3-203 Update ChangeLog.txt
2022-04-26 18:48:43 +03:00
Serhii Hadzhilov
8be2e89c81
fix: SYNERGY3-203 Synergy 1 business (#7157)
* SYNERGY3-203 Add link to helpdesk

* SYNERGY3-203 Add a new cmake option

* SYNERGY3-203 Validate business key

* SYNERGY3-203 Check license during start

* SYNERGY3-203 Update windows title

* SYNERGY3-203 Unify license errors

* SYNERGY3-203 Fix code smell

* SYNERGY3-203 Update Azure scripts

* SYNERGY3-203 Update GitHub workflows

* SYNERGY3-203 Add UT

* SYNERGY3-203 Add UT
2022-04-26 15:11:09 +03:00
Kyle Bloom
a3ade33295
Change binary store (#7156)
* Update azure pipelines

* Update mac and pi jobs

* Remove unnessesary workflows

* test pi's

* Update change log

* Fix local file location

* Remove pull_request trigger
2022-04-21 19:33:32 +03:00
Kyle Bloom
9eb536a50a
SYNERGY3-150 Fix unstable build for windows core (#7148)
* SYNERGY3-150 Minor change to core build script

* SYNERGY3-150 Missing line continuation

* SYNERGY3-150 Re-enable flags

* SYNERGY-150 Disable on PR

* SYNERGY3-150 Changelog
2022-03-01 10:13:31 +00:00
Kyle Bloom
5e2d355a3a
SYNERGY-1254 Fix core builds (#7103)
* SYNERGY-1254 Fix core builds

* Changelog

* Uncomment debian9

* Fix artifact name

* Fix workflow name

* Remove -j1 flag

* Turn off pull_request operations

* Add qt for ubuntu core builds

* Switch to python3-yaml

* Update ubuntu

* Cmake automatically manages include_directories

* Remove older fedora versions

* Add DBus to platform to ensure dependancy

* Change to synergy-vcpkg

* build macos

* Remove pull_request

* Add centos 8

* Change container

* Test core builds

* Remove setup

* Remove VCPKG_INSTALLATION_ROOT

* change checkout to use submodules

* Setup newer version of git for ubuntu

* Remove git requirement

* Remove pull_request event
2021-10-21 10:25:57 +03:00
Kyle Bloom
b932ccc46b
Add missing build_version for m1 mac (#7109)
* Add missing build_version for m1 mac

* Add ChangeLog
2021-10-19 12:25:57 +03:00
Kyle Bloom
19cd184146
Add M1 workflow (#7098)
* Add m1 workflow

* Set shell envirnonment to arm64

* ChangeLog

* Change dmg name

* Change back to parameter passing

* Send to binaries server

* Remove pull and push triggers

* Add m1 to mac tests

* Set correct shell for m1 mac

* Remove 10.13 build for core

* Core build for macos

* Always generate version file

* Remove qt from core builds

* Exclude tests from core build

* move synergyd and coverage option

* Aws core builds to only build core

* Windows upload release folder

* Use static openssl for core builds

* Fix destination for pi core builds

* Only upload core builds with release

* Rename variable step

* Remove matrix

* Test windows build changes

* Remove unnecessary cmake option

* Remove test
2021-10-01 10:55:44 +03:00
Daun Chung
cd7d8df7a6
SYNERGY-1043 (#7084)
* testing github action on ubuntu to load binary to s3

* changing the job in linux back to original

* Delete .secrets

* adding logs to changelog

* renaming secrets keys

* separating s3 upload action

* attaching aws upload calls to pull request, for testing

* fixing the keys for s3

* changing name of upload actions

* fixing the indentation issue

* enabling ubuntu 18

* enabling all the older versions of linux

* removing curl + nodejs installation

* ubuntu using 1 thread to make

* running make -j1 on job-test-linux-ubuntu

* adding s3-uploader for mac and windows

* renaming upload jobs

* fixing paths of mac and windows

* setting windows directory

* setting up upload for raspberry pi os

* windows upload without backslashes

* windows upload to use correct repo

* adding mac_1013 + updating path for raspberry

* attempting to create github action to support x32 and x64

* adding quotes around comparison

* logging aqt install command

* attempting to log on windows

* splitting the set-output procedure

* setting ids to setting qt variables

* merging setup step into one

* test

* removing syntax issue

* logging build

* commenting out x32

* disabling x64

* adding force tag to openssl installation

* adding open_ssl_dir for x32 and x64

* syntax issue

* testing mac-1013 upload on push

* openssl test

* fix indentation issue

* keeping the OPEN_SSL_DIR and uninstall -> reinstall openssl

* indentation fix

* disabling x86 and keeping x64 for windows

* changing the upload trigger to when release created

* cleaning up yml files

* testing the last changes to yml files

* changing uploads to trigger on release, updating changelog

* removing unused env var from mac 10.13

* updating linux ubuntu test to use -j1 only when ubuntu16.04 is running

* removing enterprise matrix from mac-10.13

Co-authored-by: Daun Chung <daunchung@github.com>
2021-09-14 14:42:46 +03:00
Igor Sikachyna
c87bedf938
SYNERGY-1061 - Add libnotify on Linux and create notifications (#7055)
* SYNERGY-1061 - Add libnotify on Linux and create notifications

* SYNERGY-1061 - Update changelog

* SYNERGY-1061 - Don't use libnotify for mac builds

* SYNERGY-1061 - Use nullptr instead of 0

* SYNERGY-1061 - Fix CodeQL libs

* SYNERGY-1061 - Remove Ubuntu 19.10 from CI

* SYNERGY-1061 - Destroy notification object when done

Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-07-12 17:10:44 +03:00
SerhiiGadzhilov
c58b69dfad
SYNERGY-972 Add Fedora 34 (#7035)
* SYNERGY-972 Add Fedora 34

* Update ChangeLog
2021-06-11 13:33:25 +01:00
SerhiiGadzhilov
f0940d2926
SYNERGY-1026 Add Ubuntu 21.04 (#7037)
* SYNERGY-1026 Add Ubuntu 21.04

* Update ChangeLog
2021-06-10 16:14:30 +03:00
Serhii Hadzhilov
9c438a48b4 SYNERGY-957 Install openssl 2021-06-01 13:09:29 +03:00
Serhii Hadzhilov
252734bc7d SYNERGY-1005 Add Fedora 33 to build and release pipeline 2021-05-27 12:37:51 +03:00
Serhii Hadzhilov
c3f6ae708a SYNERGY-999 Fix script that generates version number 2021-05-25 14:06:22 +03:00
Kyle Bloom
fd81fef749
Add missing make instruction (#6974)
* Add missing make instruction

* Update changelog
2021-04-12 14:37:05 +03:00
SerhiiGadzhilov
3c2810a3e0
SYNERGY-799 Add validation for aliases (#6969)
* SYNERGY-799 Add validation for aliases

* SYNERGY-799 Update ChangeLog

* SYNERGY-799 Fix code smells

* SYNERGY-799 Use new version of "trilom/file-changes-action"
2021-03-24 14:38:50 +02:00
Kyle Bloom
a318392985
Synergy 801 wrong folder (#6966)
* Remove git fetch

* Testing changes

* Upload artifact

* Move python build version

* Fix artifact

* Move test

* Add extra logging

* Test version

* Reset workflow
2021-03-19 11:04:42 +02:00
Kyle Bloom
927beb5930
Synergy 801 fix filename (#6965)
* SYNERGY-801 Add selfhosted runner for osx 10.13

* Update changelog

* Modified 10.13 to dmg name

* Update ChangeLog
2021-03-18 14:44:17 +02:00
Kyle Bloom
592be8159a
SYNERGY-801 Add self-hosted runner for OSX 10.13 (#6962)
* SYNERGY-801 Add selfhosted runner for osx 10.13

* Update changelog
2021-03-18 12:31:45 +02:00
SerhiiGadzhilov
2009409c14
SYNERGY-786 The system resets server name (#6961)
* SYNERGY-786 The system resets server name

* Update ChangeLog

* Update job-test-windows.yml

* Update job-test-windows.yml

* Update codeql-analysis.yml

* Update codeql-analysis.yml
2021-03-12 20:09:30 +02:00
Kyle Bloom
54cb817de8
OpenSSL find package (#6952)
* Change cmake to use find_package for openssl

* Change cmake prefix paths

* Fix Qt prefix path

* Limit static to apple

* Re-add qt bin path

* Fix use of apple cmake variable

* Update ChangeLog

* Update CMake prefix path for mac and windows tests

* Fix windows test

* Seems to fix mac test

* Brew defined prefix paths

* Explicitly ensure all homebrew dependencies
2021-03-03 14:04:39 +03:00
Kyle Bloom
d072b5064b
Add stage to file name (#6946)
* Add stage to file name

* ChangeLog

* Update issue number

* Fix debian control file for enterprise

* Fix enterprise check
2021-02-10 21:01:44 +02:00
Kyle Bloom
0d3ac899d0
Fix package glob (#6945)
* Fix package glob

* ChangeLog
2021-02-10 17:41:57 +02:00
Kyle Bloom
d7aec51fe7
Raspberry pi (#6941)
* Add runner for raspberry pi 3

* Changed name

* Add matrix

* ARM64 not ARM for pi-4

* Seporate artifact name for artifacts

* Add name to matrix

* Seporate build and test

* Fix $(name)

* Retry pi

* Retry with echo

* Use revision in filename glob

* add deb option

* Re activate tests

* Add scp upload

* Change release uploader

* New ssh key

* ChangeLog

* Upload test

* Show file contents

* Kick actions

* Overwrite test file

* Change scp deploy

* Fix local and remote

* Remove test job

* Allow pi-4 to run full parallel

* Build deb only when on master push

* Fix build version for raspberry pi

* Upload files not folder

* Cleanup test and remove artifacts

* Add enterprise builds

* Change build time to release

* Change create release token to allow propogation
2021-02-10 15:18:32 +02:00
Kyle Bloom
70d67040b7
Revert openssl changes (#6926)
* Revert "Core builds (#6908)"

This reverts commit 4c7456d3cc.

* Re-add minor gitignore changes

* Re-add buildCoreWindows script

* Re-add synergy no legacy flag

* Minor format fix

* Revert openssl checksums

* Remove enhancement

* Install python-pip for gcovr

* Fix mixed tabs and spaces
2021-01-26 13:36:39 +02:00
Kyle Bloom
4c7456d3cc
Core builds (#6908)
* Fix formatting in CMakeLists

* Add SYNERGY_NO_LEGACY environment flag

* Add build script for Windows

* Find_package for OpenSSL

* Move build scrits to scripts folder

* Add macOS and Linux build scripts

* Add environment variable

* Compile core with static openssl

* Default builds to Release

* Streamline OpenSSL dependancies

* Remove openssl from repo

* Change actions to test actions

* Add zip creation to build scripts

* Re-add original tests

* Add action value output

* Build per platform on release

* Fix path for core build

* Temporarily keep artifacts

* Set execute flag

* Zip before archiving

* Static build only for windows

* Remove -m flag from zip

* Change zip to tar

* Fix workflow name

* Add hints to openssl on mac

* Fix zip files

* Fix verbose flag on tar

* Remove path on download artifacts

* Try an array of build targets

* Extract action binaries

* Install full openssl

* Add 32bit openssl

* Modify installer to use the openssl.exe from ext

* Install OpenSSL full for windows release build

* Add openssl installation during windows CI

* Modify changelog

* Add enhancments section

* Remove bottom line in changelog
2021-01-20 14:47:56 +00:00
Serhii Hadzhilov
65503a4791 SYNERGY-723 Don't use the word “Version” for release names. 2021-01-15 16:28:23 +02:00
SerhiiGadzhilov
6fa21224a2
SYNERGY-400 Unify artifacts names (#6896)
* SYNERGY-400 Unify artifacts names

* SYNEGY-400 Check stage during tag creation
2020-12-31 16:27:15 +02:00
SerhiiGadzhilov
a1640d0b32
SYNERGY-400 Make build for every merge to master (#6885)
* SYNERGY-400 Generate build number and create release with tag

* SYNERGY-400 Changes for Azure Piplines

* Update ChangeLog
2020-12-24 14:22:25 +02:00
Ignacio Rodriguez
631139d42b modified check 2020-12-15 19:45:50 +07:00
Kyle Bloom
cd2d7ce39c Typo 2020-12-11 10:15:53 +00:00
Kyle Bloom
bf9049fabd Change SonarCloud to run on pull_request_target 2020-12-11 10:15:42 +00:00
SerhiiGadzhilov
38b35cd6d9
SYNERGY-551 update macOS installer. (#6844)
* SYNERGY-551 Update macOS installer

* New icon

* SYNERGY-551 Update macOS installer.

* SYNERGY-551 Update ChangeLog

* Fix GitHub action for Windows build.

* Using new version of setup-msbuild

* Fixed env. variables
2020-11-19 14:07:16 +03:00
Ignacio Rodriguez
94e04c634b cmake instead of cmake3 2020-11-10 22:41:32 +07:00
Ignacio Rodriguez
50a1172a44 with sudo 2020-11-10 22:32:57 +07:00
Ignacio Rodriguez
abb1568339 install command copied from our Dockerfile 2020-11-10 22:30:00 +07:00
Ignacio Rodriguez
a43041389e adding qt 2020-11-10 22:28:10 +07:00
Ignacio Rodriguez
25a61c9a76 sudo 2020-11-10 22:25:44 +07:00
Ignacio Rodriguez
ebcf923845 adding required packages 2020-11-10 22:23:37 +07:00
Ignacio Rodríguez
096ee5fbd8
Create codeql-analysis.yml
SYNERGY-384
2020-11-10 22:05:39 +07:00
Serhii Hadzhilov
b53cc74b6a SYNERGY-504 Temporary remove Raspberry PI from workflow. 2020-10-28 19:30:48 +02:00
Jnewbon
d3220f8a3a
Switched to Github actions for builds on PR and pushes 2020-10-05 12:56:00 +01:00
Jamie Newbon
6f02038ef7 Added job to add issue to jira automatically 2020-09-01 13:41:07 +01:00
Jnewbon
9b29327b40
#6750 Change build type to debug
to prevent optimization
2020-08-26 19:19:13 +01:00
Jnewbon
3ac4896b53
#6750 Removed pip file 2020-08-25 22:36:39 +01:00
Jnewbon
ff958e82d3
#6750 Added github token for sonarclout action 2020-08-25 22:16:16 +01:00
Jamie Newbon
2731ea1708 #6750 Gave sonar access to both threads 2020-08-25 17:55:04 +01:00
Jamie Newbon
555ee4a635 #6750 Moving home to steps 2020-08-25 17:44:50 +01:00
Jamie Newbon
06971a69e0 #6750 Trying diffrent varibale 2020-08-25 17:36:02 +01:00
Jamie Newbon
baba623a51 #6750 echoing envs 2020-08-25 17:30:22 +01:00
Jamie Newbon
c7db43f31c #6750 fixed missing . 2020-08-25 17:19:53 +01:00
Jamie Newbon
077754d9c3 #6750 Set version number 2020-08-25 17:11:19 +01:00
Jamie Newbon
444cbf10d5 #6750 Moved env's 2020-08-25 17:02:21 +01:00
Jamie Newbon
a5b55eb7df #6750 Installed gcovr via pip and split steps 2020-08-25 16:39:08 +01:00
Jamie Newbon
bae5707417 #6750 running unit test alone 2020-08-25 15:36:32 +01:00
Jamie Newbon
c5b417d7c8 #6750 Got coverage working, removed clang tidy as that is automatic 2020-08-25 15:18:35 +01:00
Jamie Newbon
841f422773 #6750 Fetched full git history for blame and updated report paths 2020-08-24 16:44:07 +01:00
Jamie Newbon
d9578e85b8 #6750 Redirected errors to file 2020-08-24 16:09:31 +01:00
Jamie Newbon
ad37bd2ab8 #6750 fixed formatting error 2020-08-24 16:05:45 +01:00
Jamie Newbon
ae6363c0c8 #6750 redirected output to file only, 2020-08-24 16:00:53 +01:00
Jamie Newbon
46c63214dc #6750 Added package clang tidy 2020-08-24 15:07:04 +01:00
Jamie Newbon
59787528f1 #6750 Removed integration tests as they don't run headless 2020-08-24 14:53:36 +01:00
Jamie Newbon
7f9edb3ef1 #6750 Fixed cmake command 2020-08-24 14:39:24 +01:00
Jamie Newbon
cfbf7f81ff #6750 add update 2020-08-24 14:36:38 +01:00