Files
deskflow/.github/workflows/create-build.yml
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

45 lines
1.2 KiB
YAML

name: Create Build
on:
push:
branches: [ master ]
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@master"
- name: 'Install git core'
run: npm install @actions/core
- name: 'Generate next build number'
id: build
uses: "./.github/actions/build-number"
with:
previous-build: ${{ steps.previoustag.outputs.tag }}
- 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
- 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 }}'