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
This commit is contained in:
parent
c542c57b5e
commit
a3ade33295
14 changed files with 51 additions and 470 deletions
58
.github/workflows/aws-upload-linux-centos.yml
vendored
58
.github/workflows/aws-upload-linux-centos.yml
vendored
|
|
@ -1,58 +0,0 @@
|
||||||
name: CentOS - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-centos:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: symless/synergy-vcpkg:${{ matrix.distro }}
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
VCPKG_LIBRARY_LINKAGE: "static"
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
distro:
|
|
||||||
# - centos7.6
|
|
||||||
- centos8
|
|
||||||
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake3 \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake \
|
|
||||||
..
|
|
||||||
. ./version
|
|
||||||
make -j
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{matrix.distro}}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
55
.github/workflows/aws-upload-linux-debian.yml
vendored
55
.github/workflows/aws-upload-linux-debian.yml
vendored
|
|
@ -1,55 +0,0 @@
|
||||||
name: Debian - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-debian:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: symless/synergy-vcpkg:${{ matrix.distro }}
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
VCPKG_LIBRARY_LINKAGE: "static"
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
distro:
|
|
||||||
- debian9
|
|
||||||
- debian10
|
|
||||||
- debian11
|
|
||||||
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake \
|
|
||||||
..
|
|
||||||
. ./version
|
|
||||||
make -j
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{matrix.distro}}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
55
.github/workflows/aws-upload-linux-fedora.yml
vendored
55
.github/workflows/aws-upload-linux-fedora.yml
vendored
|
|
@ -1,55 +0,0 @@
|
||||||
name: Fedora - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-fedora:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: symless/synergy-vcpkg:${{ matrix.distro }}
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
VCPKG_LIBRARY_LINKAGE: "static"
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
distro:
|
|
||||||
- fedora33
|
|
||||||
- fedora34
|
|
||||||
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake \
|
|
||||||
..
|
|
||||||
. ./version
|
|
||||||
make -j
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{matrix.distro}}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
58
.github/workflows/aws-upload-linux-ubuntu.yml
vendored
58
.github/workflows/aws-upload-linux-ubuntu.yml
vendored
|
|
@ -1,58 +0,0 @@
|
||||||
name: Ubuntu - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-ubuntu:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: symless/synergy-vcpkg:${{ matrix.distro }}
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
VCPKG_LIBRARY_LINKAGE: "static"
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
distro:
|
|
||||||
- ubuntu18.04
|
|
||||||
- ubuntu20.04
|
|
||||||
- ubuntu21.04
|
|
||||||
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
git submodule
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake \
|
|
||||||
..
|
|
||||||
. ./version
|
|
||||||
make -j
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{matrix.distro}}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.distro }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
67
.github/workflows/aws-upload-mac.yml
vendored
67
.github/workflows/aws-upload-mac.yml
vendored
|
|
@ -1,67 +0,0 @@
|
||||||
name: macOS - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-macos:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: ${{ matrix.shell }}
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: "macos-10.15"
|
|
||||||
target: "10.14"
|
|
||||||
shell: "bash"
|
|
||||||
destination: macOS_x64
|
|
||||||
- os: [self-hosted, macOS, arm64]
|
|
||||||
target: ""
|
|
||||||
shell: "/usr/bin/arch -arch arm64e /bin/bash --noprofile --norc -eo pipefail {0}"
|
|
||||||
destination: macOS_arm64
|
|
||||||
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install brew dependencies
|
|
||||||
run: |
|
|
||||||
brew list openssl &>/dev/null || brew install openssl
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
CMAKE_OSX_DEPLOYMENT_TARGET: ${{ matrix.target }}
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_PREFIX_PATH="$(brew --prefix openssl)" ..
|
|
||||||
. ./version
|
|
||||||
make -j
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{ matrix.destination }}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.destination }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
47
.github/workflows/aws-upload-raspberry.yml
vendored
47
.github/workflows/aws-upload-raspberry.yml
vendored
|
|
@ -1,47 +0,0 @@
|
||||||
name: Raspberry Pi - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-pi:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: [self-hosted, linux, ARM, pi-3]
|
|
||||||
destination: "raspberry-pi-3_arm"
|
|
||||||
- os: [self-hosted, linux, ARM64, pi-4]
|
|
||||||
destination: "raspberry-pi-4_arm64"
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
mkdir -p build; cd build
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
make
|
|
||||||
|
|
||||||
- uses: shallwefootball/s3-upload-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin
|
|
||||||
destination_dir: "./synergy3/latest/${{ matrix.destination }}"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.destination }}
|
|
||||||
path: build/bin/*
|
|
||||||
retention-days: 1
|
|
||||||
72
.github/workflows/aws-upload-windows.yml
vendored
72
.github/workflows/aws-upload-windows.yml
vendored
|
|
@ -1,72 +0,0 @@
|
||||||
name: Windows - Core
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
# pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-core-windows:
|
|
||||||
runs-on: windows-2019
|
|
||||||
|
|
||||||
env:
|
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
|
||||||
BONJOUR_BASE_DIR: ${{ github.workspace }}\deps\bonjour
|
|
||||||
SYNERGY_NO_LEGACY: "1"
|
|
||||||
SYNERGY_NO_TESTS: "1"
|
|
||||||
SYNERGY_STATIC_OPENSSL: "1"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- 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 OpenSSL
|
|
||||||
run: |
|
|
||||||
choco uninstall openssl -y --ignore-autouninstaller-failure --no-progress
|
|
||||||
choco install openssl -y --no-progress
|
|
||||||
|
|
||||||
- name: Add msbuild to PATH
|
|
||||||
uses: microsoft/setup-msbuild@v1.0.2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
CMAKE_PREFIX_PATH: "C:\\Program Files\\OpenSSL-Win64"
|
|
||||||
run: |
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
. ./version
|
|
||||||
msbuild synergy-core.sln `
|
|
||||||
/p:Platform="x64" `
|
|
||||||
/p:Configuration=Release `
|
|
||||||
/m
|
|
||||||
|
|
||||||
- uses: anshulrgoyal/upload-s3-action@master
|
|
||||||
if: "github.event_name == 'release'"
|
|
||||||
with:
|
|
||||||
aws_key_id: ${{ secrets.AWS_S3_UPLOAD_KEY_ID }}
|
|
||||||
aws_secret_access_key: ${{ secrets.AWS_S3_UPLOAD_SECRET }}
|
|
||||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
|
||||||
source_dir: ./build/bin/Release
|
|
||||||
destination_dir: "./synergy3/latest/Windows_x64/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: "github.event_name == 'pull_request'"
|
|
||||||
with:
|
|
||||||
name: windows
|
|
||||||
path: build/bin/Release/*
|
|
||||||
retention-days: 1
|
|
||||||
30
.github/workflows/job-build-mac-10.13.yaml
vendored
30
.github/workflows/job-build-mac-10.13.yaml
vendored
|
|
@ -6,11 +6,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-on-mac-10_13:
|
build-on-mac-10_13:
|
||||||
runs-on: [self-hosted, macOS, X64, 10.13]
|
runs-on: [self-hosted, macOS, X64, "10.13"]
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
enterprise: ['1', '']
|
enterprise: ["1", ""]
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
SYNERGY_ENTERPRISE: ${{ matrix.enterprise }}
|
||||||
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install dmgbuild
|
python3 -m pip install dmgbuild
|
||||||
|
|
||||||
- name: Build SYNERGY
|
- name: Build SYNERGY
|
||||||
env:
|
env:
|
||||||
CMAKE_PREFIX_PATH: "${{ env.Qt5_DIR }};${{ env.OpenSSL_DIR }}"
|
CMAKE_PREFIX_PATH: "${{ env.Qt5_DIR }};${{ env.OpenSSL_DIR }}"
|
||||||
|
|
@ -60,10 +60,10 @@ jobs:
|
||||||
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
||||||
then
|
then
|
||||||
SYNERGY_PACKAGE_NAME='synergy-enterprise'
|
SYNERGY_PACKAGE_NAME='synergy-enterprise'
|
||||||
SYNERGY_REMOTE_FOLDER="synergy-core/v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
SYNERGY_REMOTE_FOLDER="v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
else
|
else
|
||||||
SYNERGY_PACKAGE_NAME='synergy'
|
SYNERGY_PACKAGE_NAME='synergy'
|
||||||
SYNERGY_REMOTE_FOLDER="synergy-core/v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
SYNERGY_REMOTE_FOLDER="v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
fi
|
fi
|
||||||
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-10.13_x86-64.dmg"
|
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-10.13_x86-64.dmg"
|
||||||
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
||||||
|
|
@ -106,15 +106,11 @@ jobs:
|
||||||
cd pkg
|
cd pkg
|
||||||
../CI/MacOS/notorize.sh
|
../CI/MacOS/notorize.sh
|
||||||
|
|
||||||
- name: Send package to Sandor
|
- name: Send package to Binary Storage
|
||||||
env:
|
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||||
HOST: ${{ secrets.SANDOR_HOST }}
|
with:
|
||||||
USER: ${{ secrets.SANDOR_USERNAME }}
|
local: "${{ github.workspace }}/pkg/"
|
||||||
KEY: ${{ secrets.SANDOR_KEY }}
|
remote: "${{ secrets.BINARIES_SSH_DIR }}/${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}/"
|
||||||
LOCAL: "${{ github.workspace }}/pkg/*"
|
host: ${{ secrets.BINARIES_SSH_HOST }}
|
||||||
REMOTE: "${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}"
|
username: ${{ secrets.BINARIES_SSH_USER }}
|
||||||
run: |
|
privateKey: ${{ secrets.BINARIES_SSH_KEY }}
|
||||||
echo -e "${KEY}" >__TEMP_INPUT_KEY_FILE
|
|
||||||
chmod 600 __TEMP_INPUT_KEY_FILE
|
|
||||||
ssh -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -p 22 "${USER}"@"${HOST}" "mkdir -p ${REMOTE}"
|
|
||||||
scp -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -P 22 -r ${LOCAL} "${USER}"@"${HOST}":"${REMOTE}"
|
|
||||||
|
|
|
||||||
24
.github/workflows/job-build-mac-m1.yaml
vendored
24
.github/workflows/job-build-mac-m1.yaml
vendored
|
|
@ -61,10 +61,10 @@ jobs:
|
||||||
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
||||||
then
|
then
|
||||||
SYNERGY_PACKAGE_NAME='synergy-enterprise'
|
SYNERGY_PACKAGE_NAME='synergy-enterprise'
|
||||||
SYNERGY_REMOTE_FOLDER="synergy-core/v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
SYNERGY_REMOTE_FOLDER="v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
else
|
else
|
||||||
SYNERGY_PACKAGE_NAME='synergy'
|
SYNERGY_PACKAGE_NAME='synergy'
|
||||||
SYNERGY_REMOTE_FOLDER="synergy-core/v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
SYNERGY_REMOTE_FOLDER="v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
fi
|
fi
|
||||||
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-arm64.dmg"
|
SYNERGY_DMG_FILENAME="${SYNERGY_PACKAGE_NAME}_${SYNERGY_DMG_VERSION}_macos-arm64.dmg"
|
||||||
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
echo "SYNERGY_REMOTE_FOLDER: $SYNERGY_REMOTE_FOLDER"
|
||||||
|
|
@ -107,15 +107,11 @@ jobs:
|
||||||
cd pkg
|
cd pkg
|
||||||
../CI/MacOS/notorize.sh
|
../CI/MacOS/notorize.sh
|
||||||
|
|
||||||
- name: Send package to Sandor
|
- name: Send package to Binary Storage
|
||||||
env:
|
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||||
HOST: ${{ secrets.SANDOR_HOST }}
|
with:
|
||||||
USER: ${{ secrets.SANDOR_USERNAME }}
|
local: "${{ github.workspace }}/pkg/"
|
||||||
KEY: ${{ secrets.SANDOR_KEY }}
|
remote: "${{ secrets.BINARIES_SSH_DIR }}/${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}/"
|
||||||
LOCAL: "${{ github.workspace }}/pkg/*"
|
host: ${{ secrets.BINARIES_SSH_HOST }}
|
||||||
REMOTE: "${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}"
|
username: ${{ secrets.BINARIES_SSH_USER }}
|
||||||
run: |
|
privateKey: ${{ secrets.BINARIES_SSH_KEY }}
|
||||||
echo -e "${KEY}" >__TEMP_INPUT_KEY_FILE
|
|
||||||
chmod 600 __TEMP_INPUT_KEY_FILE
|
|
||||||
ssh -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -p 22 "${USER}"@"${HOST}" "mkdir -p ${REMOTE}"
|
|
||||||
scp -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -P 22 -r ${LOCAL} "${USER}"@"${HOST}":"${REMOTE}"
|
|
||||||
|
|
|
||||||
18
.github/workflows/job-build-raspberry-pi.yaml
vendored
18
.github/workflows/job-build-raspberry-pi.yaml
vendored
|
|
@ -39,10 +39,10 @@ jobs:
|
||||||
echo "::set-output name=SYNERGY_DEB_VERSION::${SYNERGY_DEB_VERSION}"
|
echo "::set-output name=SYNERGY_DEB_VERSION::${SYNERGY_DEB_VERSION}"
|
||||||
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
if [ "$SYNERGY_ENTERPRISE" == '1' ]
|
||||||
then
|
then
|
||||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::synergy-core/v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
echo "::set-output name=SYNERGY_REMOTE_FOLDER::v1-core-enterprise/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
echo "::set-output name=SYNERGY_PACKAGE_NAME::synergy-enterprise"
|
echo "::set-output name=SYNERGY_PACKAGE_NAME::synergy-enterprise"
|
||||||
else
|
else
|
||||||
echo "::set-output name=SYNERGY_REMOTE_FOLDER::synergy-core/v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
echo "::set-output name=SYNERGY_REMOTE_FOLDER::v1-core-standard/${SYNERGY_VERSION}/${SYNERGY_VERSION_STAGE}/b${SYNERGY_VERSION_BUILD}-${SYNERGY_REVISION}"
|
||||||
echo "::set-output name=SYNERGY_PACKAGE_NAME::synergy"
|
echo "::set-output name=SYNERGY_PACKAGE_NAME::synergy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -67,11 +67,11 @@ jobs:
|
||||||
sha1sum $filename_new >> ${filename_new}.checksum.txt
|
sha1sum $filename_new >> ${filename_new}.checksum.txt
|
||||||
sha256sum $filename_new >> ${filename_new}.checksum.txt
|
sha256sum $filename_new >> ${filename_new}.checksum.txt
|
||||||
|
|
||||||
- name: Send package to Sandor
|
- name: Send package to Binary Storage
|
||||||
uses: horochx/deploy-via-scp@master
|
uses: garygrossgarten/github-action-scp@v0.7.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SANDOR_HOST }}
|
local: "${{ github.workspace }}/package/"
|
||||||
user: ${{ secrets.SANDOR_USERNAME }}
|
remote: "${{ secrets.BINARIES_SSH_DIR }}/${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}/"
|
||||||
key: ${{ secrets.SANDOR_KEY }}
|
host: ${{ secrets.BINARIES_SSH_HOST }}
|
||||||
local: "./package/*"
|
username: ${{ secrets.BINARIES_SSH_USER }}
|
||||||
remote: "${{ steps.version.outputs.SYNERGY_REMOTE_FOLDER }}"
|
privateKey: ${{ secrets.BINARIES_SSH_KEY }}
|
||||||
|
|
|
||||||
|
|
@ -146,18 +146,18 @@ steps:
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: './standard_package'
|
sourceFolder: './standard_package'
|
||||||
contents: '*'
|
contents: '*'
|
||||||
targetFolder: 'synergy-core/v1-core-standard/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-standard/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send standard Package to sandor'
|
displayName: 'Send standard package to Binary Storage'
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: './enterprise_package'
|
sourceFolder: './enterprise_package'
|
||||||
contents: '*'
|
contents: '*'
|
||||||
targetFolder: 'synergy-core/v1-core-enterprise/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-enterprise/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send enterprise Package to sandor'
|
displayName: 'Send enterprise package to Binary Storage'
|
||||||
|
|
@ -125,9 +125,9 @@ steps:
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: '$(Build.Repository.LocalPath)/pkg'
|
sourceFolder: '$(Build.Repository.LocalPath)/pkg'
|
||||||
contents: '*'
|
contents: '*'
|
||||||
targetFolder: 'synergy-core/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send Package to sandor'
|
displayName: 'Send package to Binary Storage'
|
||||||
|
|
|
||||||
|
|
@ -212,29 +212,29 @@ steps:
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: '$(Build.ArtifactStagingDirectory)/'
|
sourceFolder: '$(Build.ArtifactStagingDirectory)/'
|
||||||
contents: '*.zip'
|
contents: '*.zip'
|
||||||
targetFolder: 'synergy-core/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send archives to sandor'
|
displayName: 'Send archives to Binary Storage'
|
||||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: '$(Build.Repository.LocalPath)\build32\installer\bin\Release\'
|
sourceFolder: '$(Build.Repository.LocalPath)\build32\installer\bin\Release\'
|
||||||
contents: '*'
|
contents: '*'
|
||||||
targetFolder: 'synergy-core/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send x86 Package to sandor'
|
displayName: 'Send x86 package to Binary Storage'
|
||||||
|
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
sshEndpoint: 'Azure on Sandor'
|
sshEndpoint: 'Binary Storage'
|
||||||
sourceFolder: '$(Build.Repository.LocalPath)\build64\installer\bin\Release\'
|
sourceFolder: '$(Build.Repository.LocalPath)\build64\installer\bin\Release\'
|
||||||
contents: '*'
|
contents: '*'
|
||||||
targetFolder: 'synergy-core/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
targetFolder: '$(BINARIES_DIR)/v1-core-$(buildType)/$(SYNERGY_VERSION)/$(SYNERGY_VERSION_STAGE)/b$(SYNERGY_VERSION_BUILD)-$(SYNERGY_REVISION)/'
|
||||||
readyTimeout: '20000'
|
readyTimeout: '20000'
|
||||||
displayName: 'Send x64 Package to sandor'
|
displayName: 'Send x64 package to Binary Storage'
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ Enhancements:
|
||||||
|
|
||||||
Github Actions:
|
Github Actions:
|
||||||
- #7148 Fix unstable build for windows core
|
- #7148 Fix unstable build for windows core
|
||||||
|
- #7156 Change binary storage server
|
||||||
===========
|
===========
|
||||||
|
|
||||||
v1.14.3-snapshot
|
v1.14.3-snapshot
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue