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

Multi-platform actions for Python (#583)

This commit is contained in:
Iliad Ramezani
2021-12-07 10:25:51 -08:00
committed by GitHub
parent 5cdf9ffe07
commit d0f91501fa

View File

@@ -45,10 +45,11 @@ defaults:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
@@ -59,10 +60,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Pre-build dependencies specific to Ubuntu
if: runner.os == 'Linux'
run: sudo apt install libsndfile1-dev
- name: Pre-build dependencies
run: |
sudo apt install libsndfile1-dev
python -m pip install --upgrade pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: pip install -r requirements.txt