1
0
mirror of https://github.com/Picovoice/porcupine.git synced 2022-01-28 03:27:53 +03:00

self-hosted runners for python actions (#584)

This commit is contained in:
Iliad Ramezani
2021-12-10 11:22:02 -08:00
committed by GitHub
parent 61d9768c43
commit 50f767e5ae

View File

@@ -44,7 +44,7 @@ defaults:
working-directory: binding/python
jobs:
build:
build-github-hosted:
runs-on: ${{ matrix.os }}
strategy:
@@ -72,3 +72,23 @@ jobs:
- name: Test
run: python test_porcupine.py ${{secrets.PV_VALID_ACCESS_KEY}}
build-self-hosted:
runs-on: ${{ matrix.machine }}
strategy:
matrix:
machine: [rpi2, rpi3, rpi4, jetson, beaglebone]
steps:
- uses: actions/checkout@v2
- name: Pre-build dependencies
run: python3 -m pip install --upgrade pip
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Test
run: python3 test_porcupine.py ${{secrets.PV_VALID_ACCESS_KEY}}