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:
22
.github/workflows/python.yml
vendored
22
.github/workflows/python.yml
vendored
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user