deskflow/.github/workflows/job-test-linux-fedora.yml
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

44 lines
970 B
YAML

name: Fedora
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-arch64:
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
name: ${{ matrix.distro }}
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- 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: Run unit test
run: ./build/bin/unittests