deskflow/.github/workflows/job-test-linux-debian.yml
Kyle Bloom d7aec51fe7
Raspberry pi (#6941)
* Add runner for raspberry pi 3

* Changed name

* Add matrix

* ARM64 not ARM for pi-4

* Seporate artifact name for artifacts

* Add name to matrix

* Seporate build and test

* Fix $(name)

* Retry pi

* Retry with echo

* Use revision in filename glob

* add deb option

* Re activate tests

* Add scp upload

* Change release uploader

* New ssh key

* ChangeLog

* Upload test

* Show file contents

* Kick actions

* Overwrite test file

* Change scp deploy

* Fix local and remote

* Remove test job

* Allow pi-4 to run full parallel

* Build deb only when on master push

* Fix build version for raspberry pi

* Upload files not folder

* Cleanup test and remove artifacts

* Add enterprise builds

* Change build time to release

* Change create release token to allow propogation
2021-02-10 15:18:32 +02:00

36 lines
659 B
YAML

name: Debian
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: debian9 #Need to install git 2.18+
- distro: debian10
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