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

add c-demo workflow (#606)

This commit is contained in:
Iliad Ramezani
2021-12-28 15:05:08 -08:00
committed by GitHub
parent d5341a7598
commit fad8300ed4

35
.github/workflows/c-demos.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: C Demos
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'demo/c/**'
- '!demo/c/README.md'
pull_request:
branches: [ master ]
paths:
- 'demo/c/**'
- '!demo/c/README.md'
defaults:
run:
working-directory: demo/c
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}