* SYNERGY-1061 - Add libnotify on Linux and create notifications * SYNERGY-1061 - Update changelog * SYNERGY-1061 - Don't use libnotify for mac builds * SYNERGY-1061 - Use nullptr instead of 0 * SYNERGY-1061 - Fix CodeQL libs * SYNERGY-1061 - Remove Ubuntu 19.10 from CI * SYNERGY-1061 - Destroy notification object when done Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
37 lines
758 B
YAML
37 lines
758 B
YAML
name: Ubuntu
|
|
|
|
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: ubuntu20.04
|
|
- distro: ubuntu21.04
|
|
# - distro: ubuntu18.04 #Need to install git 2.18+
|
|
# - distro: ubuntu16.04 #Need to install git 2.18+
|
|
|
|
name: ${{ matrix.distro }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
. ./version
|
|
make -j
|
|
|
|
- name: Run unit test
|
|
run: ./build/bin/unittests
|