mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
* 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
29 lines
529 B
YAML
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
|