deskflow/.github/workflows/job-test-raspberry-pi.yaml
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

29 lines
529 B
YAML

name: Raspberry Pi
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-on-pi:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [[self-hosted, linux, ARM, pi-3], [self-hosted, linux, ARM64, pi-4]]
env:
GIT_COMMIT: ${{ github.sha }}
steps:
- uses: actions/checkout@v2
- name: Build
run: |
mkdir -p build; cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
- name: Run unit test
run: ./build/bin/unittests