* 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
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Fedora - Core
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
build-core-fedora:
|
|
runs-on: ubuntu-latest
|
|
container: symless/synergy-core:${{ matrix.distro }}
|
|
env:
|
|
GIT_COMMIT: ${{ github.sha }}
|
|
SYNERGY_NO_LEGACY: "1"
|
|
SYNERGY_NO_TESTS: "1"
|
|
SYNERGY_STATIC_OPENSSL: "1"
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
# - distro: fedora28 #Need to install git 2.18+
|
|
- distro: fedora29
|
|
- distro: fedora30
|
|
- distro: fedora33
|
|
- distro: 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 ..
|
|
. ./version
|
|
make -j
|
|
|
|
- uses: shallwefootball/s3-upload-action@master
|
|
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}}/"
|