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
This commit is contained in:
parent
cfe20bea18
commit
446b0a2e95
25 changed files with 5203 additions and 378 deletions
1
.github/actions/build-number/.gitignore
vendored
Normal file
1
.github/actions/build-number/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
node_modules
|
||||
1
.github/actions/build-number/.nvmrc
vendored
Normal file
1
.github/actions/build-number/.nvmrc
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
v20
|
||||
10
.github/actions/build-number/action.yml
vendored
10
.github/actions/build-number/action.yml
vendored
|
|
@ -1,10 +1,10 @@
|
|||
name: 'Generate next build number'
|
||||
description: 'Generate next build number'
|
||||
name: "Generate next build number"
|
||||
description: "Generate next build number"
|
||||
|
||||
outputs:
|
||||
build-number:
|
||||
description: 'Generated build number'
|
||||
description: "Generated build number"
|
||||
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'build-number.js'
|
||||
using: "node20"
|
||||
main: "dist/index.js"
|
||||
|
|
|
|||
4527
.github/actions/build-number/dist/index.js
vendored
Normal file
4527
.github/actions/build-number/dist/index.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
190
.github/actions/build-number/package-lock.json
generated
vendored
Normal file
190
.github/actions/build-number/package-lock.json
generated
vendored
Normal file
|
|
@ -0,0 +1,190 @@
|
|||
{
|
||||
"name": "build-number",
|
||||
"version": "0.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "build-number",
|
||||
"version": "0.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@octokit/core": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.38.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@actions/core": {
|
||||
"version": "1.10.1",
|
||||
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz",
|
||||
"integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==",
|
||||
"dependencies": {
|
||||
"@actions/http-client": "^2.0.1",
|
||||
"uuid": "^8.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@actions/http-client": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.1.tgz",
|
||||
"integrity": "sha512-qhrkRMB40bbbLo7gF+0vu+X+UawOvQQqNAA/5Unx774RS8poaOhThDOG6BGmxvAnxhQnDp2BG/ZUm65xZILTpw==",
|
||||
"dependencies": {
|
||||
"tunnel": "^0.0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/auth-token": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz",
|
||||
"integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==",
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/core": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.0.0.tgz",
|
||||
"integrity": "sha512-YbAtMWIrbZ9FCXbLwT9wWB8TyLjq9mxpKdgB3dUNxQcIVTf9hJ70gRPwAcqGZdY6WdJPZ0I7jLaaNDCiloGN2A==",
|
||||
"dependencies": {
|
||||
"@octokit/auth-token": "^4.0.0",
|
||||
"@octokit/graphql": "^7.0.0",
|
||||
"@octokit/request": "^8.0.2",
|
||||
"@octokit/request-error": "^5.0.0",
|
||||
"@octokit/types": "^11.0.0",
|
||||
"before-after-hook": "^2.2.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/endpoint": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.0.tgz",
|
||||
"integrity": "sha512-szrQhiqJ88gghWY2Htt8MqUDO6++E/EIXqJ2ZEp5ma3uGS46o7LZAzSLt49myB7rT+Hfw5Y6gO3LmOxGzHijAQ==",
|
||||
"dependencies": {
|
||||
"@octokit/types": "^11.0.0",
|
||||
"is-plain-object": "^5.0.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/graphql": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.0.1.tgz",
|
||||
"integrity": "sha512-T5S3oZ1JOE58gom6MIcrgwZXzTaxRnxBso58xhozxHpOqSTgDS6YNeEUvZ/kRvXgPrRz/KHnZhtb7jUMRi9E6w==",
|
||||
"dependencies": {
|
||||
"@octokit/request": "^8.0.1",
|
||||
"@octokit/types": "^11.0.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/openapi-types": {
|
||||
"version": "18.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.0.0.tgz",
|
||||
"integrity": "sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw=="
|
||||
},
|
||||
"node_modules/@octokit/request": {
|
||||
"version": "8.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.1.tgz",
|
||||
"integrity": "sha512-8N+tdUz4aCqQmXl8FpHYfKG9GelDFd7XGVzyN8rc6WxVlYcfpHECnuRkgquzz+WzvHTK62co5di8gSXnzASZPQ==",
|
||||
"dependencies": {
|
||||
"@octokit/endpoint": "^9.0.0",
|
||||
"@octokit/request-error": "^5.0.0",
|
||||
"@octokit/types": "^11.1.0",
|
||||
"is-plain-object": "^5.0.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/request-error": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.0.0.tgz",
|
||||
"integrity": "sha512-1ue0DH0Lif5iEqT52+Rf/hf0RmGO9NWFjrzmrkArpG9trFfDM/efx00BJHdLGuro4BR/gECxCU2Twf5OKrRFsQ==",
|
||||
"dependencies": {
|
||||
"@octokit/types": "^11.0.0",
|
||||
"deprecation": "^2.0.0",
|
||||
"once": "^1.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/types": {
|
||||
"version": "11.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-11.1.0.tgz",
|
||||
"integrity": "sha512-Fz0+7GyLm/bHt8fwEqgvRBWwIV1S6wRRyq+V6exRKLVWaKGsuy6H9QFYeBVDV7rK6fO3XwHgQOPxv+cLj2zpXQ==",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@vercel/ncc": {
|
||||
"version": "0.38.0",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.0.tgz",
|
||||
"integrity": "sha512-B4YKZMm/EqMptKSFyAq4q2SlgJe+VCmEH6Y8gf/E1pTlWbsUJpuH1ymik2Ex3aYO5mCWwV1kaSYHSQOT8+4vHA==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"ncc": "dist/ncc/cli.js"
|
||||
}
|
||||
},
|
||||
"node_modules/before-after-hook": {
|
||||
"version": "2.2.3",
|
||||
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz",
|
||||
"integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ=="
|
||||
},
|
||||
"node_modules/deprecation": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
|
||||
"integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
|
||||
},
|
||||
"node_modules/is-plain-object": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/once": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
||||
"dependencies": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"node_modules/tunnel": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
||||
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
|
||||
"engines": {
|
||||
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
||||
}
|
||||
},
|
||||
"node_modules/universal-user-agent": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
|
||||
"integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w=="
|
||||
},
|
||||
"node_modules/uuid": {
|
||||
"version": "8.3.2",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
||||
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
|
||||
"bin": {
|
||||
"uuid": "dist/bin/uuid"
|
||||
}
|
||||
},
|
||||
"node_modules/wrappy": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
19
.github/actions/build-number/package.json
vendored
Normal file
19
.github/actions/build-number/package.json
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "build-number",
|
||||
"version": "0.0.0",
|
||||
"description": "Calculate the current version",
|
||||
"main": "dist/index.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ncc build main.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@octokit/core": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.38.0"
|
||||
}
|
||||
}
|
||||
109
.github/workflows/codeql-analysis.yml
vendored
109
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -1,23 +1,15 @@
|
|||
# For most projects, this workflow file will not need changing; you simply need
|
||||
# to commit it to your repository.
|
||||
#
|
||||
# You may wish to alter this file to override the set of languages analyzed,
|
||||
# or to provide custom queries or build logic.
|
||||
#
|
||||
# ******** NOTE ********
|
||||
# We have attempted to detect the languages in your repository. Please check
|
||||
# the `language` matrix defined below to confirm you have the correct set of
|
||||
# supported CodeQL languages.
|
||||
# ******** NOTE ********
|
||||
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
|
@ -27,60 +19,49 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp' ]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more...
|
||||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
|
||||
language: ["cpp"]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
debhelper \
|
||||
devscripts \
|
||||
git \
|
||||
libavahi-compat-libdnssd-dev \
|
||||
libgdk-pixbuf2.0-dev \
|
||||
libgl1-mesa-dev \
|
||||
libglib2.0-dev \
|
||||
libnotify-dev \
|
||||
libssl-dev \
|
||||
libx11-dev \
|
||||
libxtst-dev \
|
||||
qtbase5-dev \
|
||||
qttools5-dev \
|
||||
qttools5-dev-tools
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- run: |
|
||||
sudo sh -c 'export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y \
|
||||
git \
|
||||
cmake \
|
||||
qtbase5-dev \
|
||||
build-essential \
|
||||
libx11-dev \
|
||||
libxtst-dev \
|
||||
libgl1-mesa-dev \
|
||||
libssl-dev \
|
||||
libavahi-compat-libdnssd-dev \
|
||||
debhelper \
|
||||
devscripts \
|
||||
qttools5-dev \
|
||||
qttools5-dev-tools \
|
||||
libnotify-dev \
|
||||
libglib2.0-dev \
|
||||
libgdk-pixbuf2.0-dev \
|
||||
&& rm -rf /var/lib/apt/lists'
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
|
|
|||
23
.github/workflows/create-build.yml
vendored
23
.github/workflows/create-build.yml
vendored
|
|
@ -2,40 +2,37 @@ name: Create Build
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: 'Install git core'
|
||||
run: |
|
||||
npm install @actions/core
|
||||
npm install @octokit/core
|
||||
|
||||
- name: 'Generate next build number'
|
||||
- name: "Generate next build number"
|
||||
id: build
|
||||
uses: "./.github/actions/build-number"
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_EVENT_PROPAGATION_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.build.outputs.next-build }}
|
||||
release_name: ${{ steps.build.outputs.next-build }}
|
||||
commitish: master
|
||||
draft: false
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_EVENT_PROPAGATION_TOKEN }}
|
||||
|
||||
- name: Run build on Azure
|
||||
uses: Azure/pipelines@v1
|
||||
with:
|
||||
azure-devops-project-url: 'https://dev.azure.com/symless/synergy-core'
|
||||
azure-pipeline-name: 'symless.synergy-core'
|
||||
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
|
||||
azure-devops-project-url: "https://dev.azure.com/symless/synergy-core"
|
||||
azure-pipeline-name: "symless.synergy-core"
|
||||
azure-devops-token: "${{ secrets.AZURE_DEVOPS_TOKEN }}"
|
||||
|
|
|
|||
25
.github/workflows/job-build-flatpak.yaml
vendored
25
.github/workflows/job-build-flatpak.yaml
vendored
|
|
@ -8,26 +8,35 @@ jobs:
|
|||
build-flatpak-bundle:
|
||||
name: ubuntu-flatpak
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: symless/synergy-core:ubuntu20.04
|
||||
options: --privileged
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
name: [synergy, synergy-enterprise, synergy-business]
|
||||
include:
|
||||
runtime:
|
||||
- name: synergy
|
||||
remote_folder: v1-core-standard
|
||||
enterprise: ""
|
||||
business: ""
|
||||
- name: synergy-enterprise
|
||||
remote_folder: v1-core-enterprise
|
||||
enterprise: "1"
|
||||
business: ""
|
||||
- name: synergy-business
|
||||
remote_folder: v1-core-business
|
||||
enterprise: ""
|
||||
business: "1"
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.business }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.runtime.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.runtime.business }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
fetch-depth: "0"
|
||||
|
|
@ -54,7 +63,7 @@ jobs:
|
|||
rm -rf version-info
|
||||
SYNERGY_VERSION="$SYNERGY_VERSION_MAJOR.$SYNERGY_VERSION_MINOR.$SYNERGY_VERSION_PATCH"
|
||||
SYNERGY_REVISION=$(git rev-parse --short=8 HEAD)
|
||||
SYNERGY_FLATPAK_NAME="${{ matrix.name }}_${SYNERGY_VERSION}-${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}"
|
||||
SYNERGY_FLATPAK_NAME="${{ matrix.runtime.name }}_${SYNERGY_VERSION}-${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MAJOR::${SYNERGY_VERSION_MAJOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MINOR::${SYNERGY_VERSION_MINOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_PATCH::${SYNERGY_VERSION_PATCH}"
|
||||
|
|
@ -63,7 +72,7 @@ jobs:
|
|||
echo "::set-output name=SYNERGY_VERSION::${SYNERGY_VERSION}"
|
||||
echo "::set-output name=SYNERGY_REVISION::${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_FLATPAK_NAME::${SYNERGY_FLATPAK_NAME}"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::${{ matrix.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::${{ matrix.runtime.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
- name: Install flatpak
|
||||
run: |
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
|
@ -73,7 +82,7 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
cd flatpak
|
||||
flatpak-builder build ${{ matrix.name }}.yml --disable-cache --force-clean
|
||||
flatpak-builder build ${{ matrix.runtime.name }}.yml --disable-cache --force-clean
|
||||
flatpak build-export export build
|
||||
flatpak build-bundle export ${{ steps.version.outputs.SYNERGY_FLATPAK_NAME }}.flatpak com.symless.Synergy master --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
|
|
|
|||
16
.github/workflows/job-build-mac-10.13.yaml
vendored
16
.github/workflows/job-build-mac-10.13.yaml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
runtime:
|
||||
- name: "synergy"
|
||||
remote_folder: "v1-core-standard"
|
||||
enterprise: ""
|
||||
|
|
@ -23,16 +23,20 @@ jobs:
|
|||
remote_folder: "v1-core-business"
|
||||
enterprise: ""
|
||||
business: "1"
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.business }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.runtime.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.runtime.business }}
|
||||
Qt5_DIR: /usr/local/opt/qt/5.15.2/clang_64
|
||||
OpenSSL_DIR: /usr/local/ssl
|
||||
CODESIGN_ID: "Developer ID Application: Symless Ltd (4HX897Y6GJ)"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
|
|
@ -70,8 +74,8 @@ jobs:
|
|||
echo "::set-output name=SYNERGY_VERSION::$SYNERGY_VERSION"
|
||||
echo "::set-output name=SYNERGY_REVISION::$SYNERGY_REVISION"
|
||||
echo "::set-output name=SYNERGY_DMG_VERSION::$SYNERGY_DMG_VERSION"
|
||||
SYNERGY_PACKAGE_NAME=${{ matrix.name }}
|
||||
SYNERGY_REMOTE_FOLDER="${{ matrix.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
SYNERGY_PACKAGE_NAME=${{ matrix.runtime.name }}
|
||||
SYNERGY_REMOTE_FOLDER="${{ matrix.runtime.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-10.13_x86-64.dmg"
|
||||
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::$SYNERGY_REMOTE_FOLDER"
|
||||
|
|
|
|||
26
.github/workflows/job-build-mac-m1.yaml
vendored
26
.github/workflows/job-build-mac-m1.yaml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
runtime:
|
||||
- name: "synergy"
|
||||
remote_folder: "v1-core-standard"
|
||||
enterprise: ""
|
||||
|
|
@ -27,14 +27,28 @@ jobs:
|
|||
remote_folder: "v1-core-business"
|
||||
enterprise: ""
|
||||
business: "1"
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.business }}
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.runtime.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.runtime.business }}
|
||||
CODESIGN_ID: "Developer ID Application: Symless Ltd (4HX897Y6GJ)"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PATH
|
||||
run: echo "/opt/homebrew/bin" >> $GITHUB_PATH
|
||||
env:
|
||||
ARCH: ${{ matrix.runtime.arch }}
|
||||
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
|
|
@ -71,8 +85,8 @@ jobs:
|
|||
echo "::set-output name=SYNERGY_VERSION::$SYNERGY_VERSION"
|
||||
echo "::set-output name=SYNERGY_REVISION::$SYNERGY_REVISION"
|
||||
echo "::set-output name=SYNERGY_DMG_VERSION::$SYNERGY_DMG_VERSION"
|
||||
SYNERGY_PACKAGE_NAME=${{ matrix.name }}
|
||||
SYNERGY_REMOTE_FOLDER="${{ matrix.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
SYNERGY_PACKAGE_NAME=${{ matrix.runtime.name }}
|
||||
SYNERGY_REMOTE_FOLDER="${{ matrix.runtime.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-arm64.dmg"
|
||||
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::$SYNERGY_REMOTE_FOLDER"
|
||||
|
|
|
|||
122
.github/workflows/job-build-raspberry-pi.yaml
vendored
122
.github/workflows/job-build-raspberry-pi.yaml
vendored
|
|
@ -7,11 +7,19 @@ on:
|
|||
jobs:
|
||||
build-on-pi:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
DEB_BUILD_OPTIONS: parallel=1
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.runtime.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.runtime.business }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [[self-hosted, linux, ARM, pi-3], [self-hosted, linux, ARM64, pi-4]]
|
||||
name: [synergy, synergy-enterprise, synergy-business]
|
||||
include:
|
||||
os:
|
||||
- [self-hosted, linux, ARM, pi-3]
|
||||
- [self-hosted, linux, ARM64, pi-4]
|
||||
runtime:
|
||||
- name: synergy
|
||||
remote_folder: v1-core-standard
|
||||
enterprise: ""
|
||||
|
|
@ -24,63 +32,61 @@ jobs:
|
|||
remote_folder: v1-core-business
|
||||
enterprise: ""
|
||||
business: "1"
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
DEB_BUILD_OPTIONS: parallel=1
|
||||
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
||||
SYNERGY_BUSINESS: ${{ matrix.business }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Version Info
|
||||
id: version
|
||||
run: |
|
||||
python3 CI/build_version.py
|
||||
mkdir -p version-info && cd version-info && cmake .. && cd ..
|
||||
. ./version-info/version
|
||||
rm -rf version-info
|
||||
SYNERGY_VERSION="$SYNERGY_VERSION_MAJOR.$SYNERGY_VERSION_MINOR.$SYNERGY_VERSION_PATCH"
|
||||
SYNERGY_REVISION=$(git rev-parse --short=8 HEAD)
|
||||
SYNERGY_DEB_VERSION="${SYNERGY_VERSION}.${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MAJOR::${SYNERGY_VERSION_MAJOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MINOR::${SYNERGY_VERSION_MINOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_PATCH::${SYNERGY_VERSION_PATCH}"
|
||||
echo "::set-output name=SYNERGY_VERSION_STAGE::${SYNERGY_VERSION_STAGE}"
|
||||
echo "::set-output name=SYNERGY_VERSION_BUILD::${SYNERGY_VERSION_BUILD}"
|
||||
echo "::set-output name=SYNERGY_VERSION::${SYNERGY_VERSION}"
|
||||
echo "::set-output name=SYNERGY_REVISION::${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_DEB_VERSION::${SYNERGY_DEB_VERSION}"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::${{ matrix.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_PACKAGE_NAME::${{ matrix.name }}"
|
||||
- name: Version Info
|
||||
id: version
|
||||
run: |
|
||||
python3 CI/build_version.py
|
||||
mkdir -p version-info && cd version-info && cmake .. && cd ..
|
||||
. ./version-info/version
|
||||
rm -rf version-info
|
||||
SYNERGY_VERSION="$SYNERGY_VERSION_MAJOR.$SYNERGY_VERSION_MINOR.$SYNERGY_VERSION_PATCH"
|
||||
SYNERGY_REVISION=$(git rev-parse --short=8 HEAD)
|
||||
SYNERGY_DEB_VERSION="${SYNERGY_VERSION}.${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MAJOR::${SYNERGY_VERSION_MAJOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_MINOR::${SYNERGY_VERSION_MINOR}"
|
||||
echo "::set-output name=SYNERGY_VERSION_PATCH::${SYNERGY_VERSION_PATCH}"
|
||||
echo "::set-output name=SYNERGY_VERSION_STAGE::${SYNERGY_VERSION_STAGE}"
|
||||
echo "::set-output name=SYNERGY_VERSION_BUILD::${SYNERGY_VERSION_BUILD}"
|
||||
echo "::set-output name=SYNERGY_VERSION::${SYNERGY_VERSION}"
|
||||
echo "::set-output name=SYNERGY_REVISION::${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_DEB_VERSION::${SYNERGY_DEB_VERSION}"
|
||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::${{ matrix.runtime.remote_folder }}/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||
echo "::set-output name=SYNERGY_PACKAGE_NAME::${{ matrix.runtime.name }}"
|
||||
|
||||
- name: Build deb
|
||||
env:
|
||||
SYNERGY_VERSION: ${{ steps.version.outputs.SYNERGY_VERSION }}
|
||||
SYNERGY_REVISION: ${{ steps.version.outputs.SYNERGY_REVISION }}
|
||||
SYNERGY_DEB_VERSION: ${{ steps.version.outputs.SYNERGY_DEB_VERSION }}
|
||||
PACKAGE_NAME: ${{ steps.version.outputs.SYNERGY_PACKAGE_NAME }}
|
||||
SYNERGY_VERSION_STAGE: ${{ steps.version.outputs.SYNERGY_VERSION_STAGE }}
|
||||
run: |
|
||||
sed -i "s/ synergy/ ${PACKAGE_NAME}/g" ./debian/control
|
||||
python3 CI/deb_changelog.py "${PACKAGE_NAME}" "${SYNERGY_DEB_VERSION}"
|
||||
debuild --preserve-envvar SYNERGY_* --preserve-envvar GIT_COMMIT -us -uc
|
||||
mkdir -p package
|
||||
cd ..
|
||||
filename=$(ls ${PACKAGE_NAME}_*${SYNERGY_REVISION}*.deb)
|
||||
filename_new="${PACKAGE_NAME}_${SYNERGY_VERSION}-${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}_raspios${filename##*${SYNERGY_REVISION}}"
|
||||
mv $filename ${{ github.workspace }}/package/$filename_new
|
||||
cd ${{ github.workspace }}/package
|
||||
md5sum $filename_new >> ${filename_new}.checksum.txt
|
||||
sha1sum $filename_new >> ${filename_new}.checksum.txt
|
||||
sha256sum $filename_new >> ${filename_new}.checksum.txt
|
||||
- name: Build deb
|
||||
run: |
|
||||
sed -i "s/ synergy/ ${PACKAGE_NAME}/g" ./debian/control
|
||||
python3 CI/deb_changelog.py "${PACKAGE_NAME}" "${SYNERGY_DEB_VERSION}"
|
||||
debuild --preserve-envvar SYNERGY_* --preserve-envvar GIT_COMMIT -us -uc
|
||||
mkdir -p package
|
||||
cd ..
|
||||
filename=$(ls ${PACKAGE_NAME}_*${SYNERGY_REVISION}*.deb)
|
||||
filename_new="${PACKAGE_NAME}_${SYNERGY_VERSION}-${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}_raspios${filename##*${SYNERGY_REVISION}}"
|
||||
mv $filename ${{ github.workspace }}/package/$filename_new
|
||||
cd ${{ github.workspace }}/package
|
||||
md5sum $filename_new >> ${filename_new}.checksum.txt
|
||||
sha1sum $filename_new >> ${filename_new}.checksum.txt
|
||||
sha256sum $filename_new >> ${filename_new}.checksum.txt
|
||||
env:
|
||||
SYNERGY_VERSION: ${{ steps.version.outputs.SYNERGY_VERSION }}
|
||||
SYNERGY_REVISION: ${{ steps.version.outputs.SYNERGY_REVISION }}
|
||||
SYNERGY_DEB_VERSION: ${{ steps.version.outputs.SYNERGY_DEB_VERSION }}
|
||||
PACKAGE_NAME: ${{ steps.version.outputs.SYNERGY_PACKAGE_NAME }}
|
||||
SYNERGY_VERSION_STAGE: ${{ steps.version.outputs.SYNERGY_VERSION_STAGE }}
|
||||
|
||||
- name: Send package to Binary Storage
|
||||
if: "github.event_name == 'release'"
|
||||
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||
with:
|
||||
local: "${{ github.workspace }}/package/"
|
||||
remote: "${{ secrets.BINARIES_SSH_DIR }}/${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}/"
|
||||
host: ${{ secrets.BINARIES_SSH_HOST }}
|
||||
username: ${{ secrets.BINARIES_SSH_USER }}
|
||||
privateKey: ${{ secrets.BINARIES_SSH_KEY }}
|
||||
- name: Send package to Binary Storage
|
||||
if: "github.event_name == 'release'"
|
||||
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||
with:
|
||||
local: "${{ github.workspace }}/package/"
|
||||
remote: "${{ secrets.BINARIES_SSH_DIR }}/${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}/"
|
||||
host: ${{ secrets.BINARIES_SSH_HOST }}
|
||||
username: ${{ secrets.BINARIES_SSH_USER }}
|
||||
privateKey: ${{ secrets.BINARIES_SSH_KEY }}
|
||||
|
|
|
|||
53
.github/workflows/job-changelog-check.yml
vendored
53
.github/workflows/job-changelog-check.yml
vendored
|
|
@ -6,34 +6,37 @@
|
|||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
name: ChangeLog Updated
|
||||
on:
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- id: file_changes
|
||||
name: Get changed files
|
||||
uses: trilom/file-changes-action@v1.2.4
|
||||
with:
|
||||
output: ','
|
||||
- name: echo changes
|
||||
run: |
|
||||
echo Files
|
||||
echo '${{ steps.file_changes.outputs.files}}'
|
||||
echo Modified
|
||||
echo '${{ steps.file_changes.outputs.files_modified}}'
|
||||
echo Added
|
||||
echo '${{ steps.file_changes.outputs.files_added}}'
|
||||
echo Removed
|
||||
echo '${{ steps.file_changes.outputs.files_removed}}'
|
||||
- name: List files
|
||||
run: |
|
||||
if [[ "${{ steps.file_changes.outputs.files_modified}}" == *"ChangeLog"* ]]; then
|
||||
echo "ChangeLog has been updated"
|
||||
else
|
||||
echo "::error file=app.js,line=10,col=15::Changelog hasn't been updated"
|
||||
exit 1
|
||||
fi
|
||||
- name: Get changed files
|
||||
id: file_changes
|
||||
uses: trilom/file-changes-action@v1.2.4
|
||||
with:
|
||||
output: ","
|
||||
|
||||
- name: echo changes
|
||||
run: |
|
||||
echo Files
|
||||
echo '${{ steps.file_changes.outputs.files}}'
|
||||
echo Modified
|
||||
echo '${{ steps.file_changes.outputs.files_modified}}'
|
||||
echo Added
|
||||
echo '${{ steps.file_changes.outputs.files_added}}'
|
||||
echo Removed
|
||||
echo '${{ steps.file_changes.outputs.files_removed}}'
|
||||
|
||||
- name: List files
|
||||
run: |
|
||||
if [[ "${{ steps.file_changes.outputs.files_modified}}" == *"ChangeLog"* ]]; then
|
||||
echo "ChangeLog has been updated"
|
||||
else
|
||||
echo "::error file=app.js,line=10,col=15::Changelog hasn't been updated"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
6
.github/workflows/job-jira-issues.yml
vendored
6
.github/workflows/job-jira-issues.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
on:
|
||||
issues:
|
||||
types: [ opened ]
|
||||
types: [opened]
|
||||
|
||||
name: Send Issue to Jira
|
||||
jobs:
|
||||
|
|
@ -30,11 +30,11 @@ jobs:
|
|||
${{ github.event.issue.body }}
|
||||
|
||||
- name: Create comment
|
||||
uses: jungwinter/comment@v1
|
||||
id: createComment
|
||||
uses: jungwinter/comment@v1
|
||||
with:
|
||||
type: create
|
||||
body: |
|
||||
Jira Issue: [${{ steps.create.outputs.issue }}](https://symless.atlassian.net/browse/${{ steps.create.outputs.issue }})
|
||||
issue_number: ${{ github.event.issue.number }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
103
.github/workflows/job-sonarcloud.yml
vendored
103
.github/workflows/job-sonarcloud.yml
vendored
|
|
@ -2,13 +2,16 @@ name: SonarCloud Static Analysis
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: symless/synergy-core:debian10
|
||||
|
||||
|
|
@ -17,54 +20,56 @@ jobs:
|
|||
SONAR_SCANNER_OPTS: -server
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Installing gcovr
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y python python-pip
|
||||
pip install gcovr
|
||||
- name: Installing Sonar Scanner
|
||||
run: |
|
||||
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-4.4.0.2170-linux
|
||||
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
|
||||
unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
|
||||
- name: Installing gcovr
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y python python-pip
|
||||
pip install gcovr
|
||||
|
||||
- name: Installing buildWrapper
|
||||
run: |
|
||||
curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
|
||||
unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
|
||||
- name: Installing Sonar Scanner
|
||||
run: |
|
||||
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-4.4.0.2170-linux
|
||||
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
|
||||
unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
|
||||
mkdir build-release
|
||||
cd build-release
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_COVERAGE=ON ..
|
||||
. ./version
|
||||
build-wrapper-linux-x86-64 --out-dir bw-output make -j
|
||||
- name: Installing buildWrapper
|
||||
run: |
|
||||
curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
|
||||
unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
|
||||
|
||||
- name: Running coverage
|
||||
run: |
|
||||
cd build-release
|
||||
make coverage
|
||||
- name: Build
|
||||
run: |
|
||||
export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
|
||||
mkdir build-release
|
||||
cd build-release
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_COVERAGE=ON ..
|
||||
. ./version
|
||||
build-wrapper-linux-x86-64 --out-dir bw-output make -j
|
||||
|
||||
- name: Run Sonar
|
||||
run: |
|
||||
export PATH=$HOME/.sonar/sonar-scanner-${SONAR_SCANNER_VERSION}-linux/bin:$PATH
|
||||
cd build-release
|
||||
sonar-scanner \
|
||||
-Dsonar.organization=symless \
|
||||
-Dsonar.projectKey=symless_synergy-core \
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.projectBaseDir=../ \
|
||||
-Dsonar.exclusions=./ext/**,**/build-release/** \
|
||||
-Dsonar.cfamily.build-wrapper-output=bw-output \
|
||||
-Dsonar.host.url=https://sonarcloud.io \
|
||||
-Dsonar.coverageReportPaths=build-release/coverage.xml \
|
||||
-Dsonar.cfamily.threads=2
|
||||
env:
|
||||
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Running coverage
|
||||
run: |
|
||||
cd build-release
|
||||
make coverage
|
||||
|
||||
- name: Run Sonar
|
||||
run: |
|
||||
export PATH=$HOME/.sonar/sonar-scanner-${SONAR_SCANNER_VERSION}-linux/bin:$PATH
|
||||
cd build-release
|
||||
sonar-scanner \
|
||||
-Dsonar.organization=symless \
|
||||
-Dsonar.projectKey=symless_synergy-core \
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.projectBaseDir=../ \
|
||||
-Dsonar.exclusions=./ext/**,**/build-release/** \
|
||||
-Dsonar.cfamily.build-wrapper-output=bw-output \
|
||||
-Dsonar.host.url=https://sonarcloud.io \
|
||||
-Dsonar.coverageReportPaths=build-release/coverage.xml \
|
||||
-Dsonar.cfamily.threads=2
|
||||
env:
|
||||
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
42
.github/workflows/job-test-linux-centos.yml
vendored
42
.github/workflows/job-test-linux-centos.yml
vendored
|
|
@ -2,34 +2,42 @@ name: CentOS
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-arch64:
|
||||
name: ${{ matrix.distro }}
|
||||
runs-on: ubuntu-latest
|
||||
container: symless/synergy-core:${{ matrix.distro }}
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- distro: centos7.6
|
||||
- distro: centos8
|
||||
|
||||
name: ${{ matrix.distro }}
|
||||
distro:
|
||||
- centos7.6
|
||||
- centos8
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..
|
||||
. ./version
|
||||
make -j
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..
|
||||
. ./version
|
||||
make -j
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
|
|
|
|||
46
.github/workflows/job-test-linux-debian.yml
vendored
46
.github/workflows/job-test-linux-debian.yml
vendored
|
|
@ -2,35 +2,43 @@ name: Debian
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-arch64:
|
||||
name: ${{ matrix.distro }}
|
||||
runs-on: ubuntu-latest
|
||||
container: symless/synergy-core:${{ matrix.distro }}
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- distro: debian9
|
||||
- distro: debian10
|
||||
- distro: debian11
|
||||
|
||||
name: ${{ matrix.distro }}
|
||||
distro:
|
||||
- debian9
|
||||
- debian10
|
||||
- debian11
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
. ./version
|
||||
make -j
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
. ./version
|
||||
make -j
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
|
|
|
|||
58
.github/workflows/job-test-linux-fedora.yml
vendored
58
.github/workflows/job-test-linux-fedora.yml
vendored
|
|
@ -2,44 +2,50 @@ name: Fedora
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-arch64:
|
||||
name: ${{ matrix.distro }}
|
||||
runs-on: ubuntu-latest
|
||||
container: symless/synergy-core:${{ matrix.distro }}
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- distro: fedora29
|
||||
- distro: fedora30
|
||||
- distro: fedora33
|
||||
- distro: fedora34
|
||||
- distro: fedora35
|
||||
- distro: fedora36
|
||||
|
||||
name: ${{ matrix.distro }}
|
||||
distro:
|
||||
- fedora33
|
||||
- fedora34
|
||||
- fedora35
|
||||
- fedora36
|
||||
- fedora37
|
||||
- fedora38
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Work around https://github.com/actions/checkout/issues/766
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
- name: Work around https://github.com/actions/checkout/issues/766
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..
|
||||
. ./version
|
||||
make -j
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..
|
||||
. ./version
|
||||
make -j
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
|
|
|
|||
31
.github/workflows/job-test-linux-ubuntu.yml
vendored
31
.github/workflows/job-test-linux-ubuntu.yml
vendored
|
|
@ -6,28 +6,37 @@ on:
|
|||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-arch64:
|
||||
name: ubuntu${{ matrix.distro }}
|
||||
runs-on: ubuntu-latest
|
||||
container: symless/synergy-core:ubuntu${{ matrix.distro }}
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
distro: ['22.04', '20.04', '18.04']
|
||||
flag: ['-j']
|
||||
distro:
|
||||
- "22.04"
|
||||
- "20.04"
|
||||
- "18.04"
|
||||
flag:
|
||||
- "-j"
|
||||
include:
|
||||
- distro: '16.04'
|
||||
flag: '-j1'
|
||||
|
||||
|
||||
name: ubuntu${{ matrix.distro }}
|
||||
- distro: "16.04"
|
||||
flag: "-j1"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Work around https://github.com/actions/checkout/issues/766
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
|
@ -41,4 +50,4 @@ jobs:
|
|||
make ${{ matrix.flag }}
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
run: ./build/bin/unittests
|
||||
|
|
|
|||
29
.github/workflows/job-test-mac.yml
vendored
29
.github/workflows/job-test-mac.yml
vendored
|
|
@ -6,21 +6,27 @@ on:
|
|||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-macos:
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.runtime.os }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: ${{ matrix.shell }}
|
||||
shell: ${{ matrix.runtime.shell }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
runtime:
|
||||
- os: "macos-latest"
|
||||
arch: x64
|
||||
target: "10.14"
|
||||
shell: "bash"
|
||||
- os: [self-hosted, macOS, arm64]
|
||||
arch: arm64
|
||||
target: "11"
|
||||
shell: "/usr/bin/arch -arch arm64e /bin/bash --noprofile --norc -eo pipefail {0}"
|
||||
|
||||
|
|
@ -28,14 +34,27 @@ jobs:
|
|||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PATH
|
||||
run: |
|
||||
case "$ARCH" in
|
||||
"arm64")
|
||||
echo "/opt/homebrew/bin" >> $GITHUB_PATH
|
||||
;;
|
||||
esac
|
||||
env:
|
||||
ARCH: ${{ matrix.runtime.arch }}
|
||||
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install brew dependencies
|
||||
run: brew bundle --file=- <<< "brew 'qt5'; brew 'openssl'"
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
CMAKE_OSX_DEPLOYMENT_TARGET: ${{ matrix.target }}
|
||||
CMAKE_OSX_DEPLOYMENT_TARGET: ${{ matrix.runtime.target }}
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
|
|
|
|||
27
.github/workflows/job-test-raspberry-pi.yaml
vendored
27
.github/workflows/job-test-raspberry-pi.yaml
vendored
|
|
@ -2,9 +2,13 @@ name: Raspberry Pi
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-on-pi:
|
||||
|
|
@ -16,13 +20,16 @@ jobs:
|
|||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p build; cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p build; cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
- name: Run unit test
|
||||
run: ./build/bin/unittests
|
||||
|
|
|
|||
97
.github/workflows/job-test-windows.yml
vendored
97
.github/workflows/job-test-windows.yml
vendored
|
|
@ -2,13 +2,17 @@ name: Windows
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-arch64:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-latest
|
||||
|
||||
env:
|
||||
GIT_COMMIT: ${{ github.sha }}
|
||||
|
|
@ -19,53 +23,56 @@ jobs:
|
|||
QT_LIB_DIR: ${{ github.workspace }}\deps\Qt\5.12.6
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache Qt
|
||||
id: cache-qt
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ env.QT_BASE_DIR }}
|
||||
key: ${{ runner.os }}-Qt_${{ env.QT_VERSION }}
|
||||
- name: Cache Qt
|
||||
id: cache-qt
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ env.QT_BASE_DIR }}
|
||||
key: ${{ runner.os }}-Qt_${{ env.QT_VERSION }}
|
||||
|
||||
- name: Install Qt
|
||||
if: steps.cache-qt.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pip install aqtinstall
|
||||
python -m aqt install --outputdir $env:QT_BASE_DIR --base $env:QT_BASE_URL $env:QT_VERSION windows desktop win64_msvc2017_64
|
||||
cd $env:QT_LIB_DIR\msvc2017_64
|
||||
dir
|
||||
- name: Install Qt
|
||||
if: steps.cache-qt.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pip install aqtinstall
|
||||
python -m aqt install --outputdir $env:QT_BASE_DIR --base $env:QT_BASE_URL $env:QT_VERSION windows desktop win64_msvc2017_64
|
||||
cd $env:QT_LIB_DIR\msvc2017_64
|
||||
dir
|
||||
|
||||
- name: Cache Bonjour
|
||||
id: cache-bonjour
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ env.BONJOUR_BASE_DIR }}
|
||||
key: ${{ runner.os }}-Bonjour
|
||||
- name: Cache Bonjour
|
||||
id: cache-bonjour
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ env.BONJOUR_BASE_DIR }}
|
||||
key: ${{ runner.os }}-Bonjour
|
||||
|
||||
- name: Install Bonjour SDK
|
||||
if: steps.cache-bonjour.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
New-Item -Force -ItemType Directory -Path "$env:BONJOUR_BASE_DIR"
|
||||
$client = new-object System.Net.WebClient
|
||||
$client.DownloadFile("https://binaries.symless.com/bonjour/BonjourSDK.zip",".\bonjoursdk.zip")
|
||||
[System.IO.Compression.ZipFile]::ExtractToDirectory(".\bonjoursdk.zip", "$env:BONJOUR_BASE_DIR")
|
||||
- name: Install Bonjour SDK
|
||||
if: steps.cache-bonjour.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
New-Item -Force -ItemType Directory -Path "$env:BONJOUR_BASE_DIR"
|
||||
$client = new-object System.Net.WebClient
|
||||
$client.DownloadFile("https://binaries.symless.com/bonjour/BonjourSDK.zip",".\bonjoursdk.zip")
|
||||
[System.IO.Compression.ZipFile]::ExtractToDirectory(".\bonjoursdk.zip", "$env:BONJOUR_BASE_DIR")
|
||||
|
||||
- name: Install OpenSSL
|
||||
run: choco install openssl -y --no-progress
|
||||
- name: Install OpenSSL
|
||||
run: choco install openssl -y --no-progress
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
CMAKE_PREFIX_PATH: "${{ env.QT_LIB_DIR }}\\msvc2017_64\\"
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
. ./version
|
||||
msbuild synergy-core.sln /p:Configuration=Release
|
||||
- name: Build
|
||||
env:
|
||||
CMAKE_PREFIX_PATH: "${{ env.QT_LIB_DIR }}\\msvc2017_64\\"
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
. ./version
|
||||
msbuild synergy-core.sln /p:Configuration=Release
|
||||
|
||||
- name: Run unit test
|
||||
run: .\build\bin\Release\unittests.exe
|
||||
- name: Run unit test
|
||||
run: .\build\bin\Release\unittests.exe
|
||||
|
|
|
|||
17
.github/workflows/stale-issues.yml
vendored
17
.github/workflows/stale-issues.yml
vendored
|
|
@ -1,21 +1,22 @@
|
|||
name: 'Close stale issues and PRs'
|
||||
name: "Close stale issues and PRs"
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v6
|
||||
with:
|
||||
stale-issue-message: 'This issue is stale because it has been open 1 year with no activity. Remove the stale label or add a comment, otherwise this will be closed in 30 days.'
|
||||
stale-pr-message: 'This PR is stale because it has been open 1 year with no activity. Remove the stale label or add a comment, otherwise this will be closed in 30 days.'
|
||||
close-issue-message: 'This issue was closed because it has been stale for 1 year with no activity.'
|
||||
close-pr-message: 'This PR was closed because it has been stale for 1 year with no activity.'
|
||||
stale-issue-message: "This issue is stale because it has been open 1 year with no activity. Remove the stale label or add a comment, otherwise this will be closed in 30 days."
|
||||
stale-pr-message: "This PR is stale because it has been open 1 year with no activity. Remove the stale label or add a comment, otherwise this will be closed in 30 days."
|
||||
close-issue-message: "This issue was closed because it has been stale for 1 year with no activity."
|
||||
close-pr-message: "This PR was closed because it has been stale for 1 year with no activity."
|
||||
days-before-issue-stale: 365
|
||||
days-before-pr-stale: 365
|
||||
days-before-issue-close: 30
|
||||
days-before-pr-close: 30
|
||||
stale-issue-label: 'stale'
|
||||
stale-pr-label: 'stale'
|
||||
stale-issue-label: "stale"
|
||||
stale-pr-label: "stale"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ Enhancements:
|
|||
- #7274 Only build necessary binaries
|
||||
- #7277 Change start errors to fatal
|
||||
|
||||
GitHub Actions:
|
||||
- #7283 Update all workflows and fix broken macOS workflows
|
||||
|
||||
1.14.6
|
||||
======
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue