Merge pull request #56 from OpenVoiceOS/release-0.2.7a1 #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Build Tests | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- dev | |
paths-ignore: | |
- 'ovos_PHAL/version.py' | |
- 'test/**' | |
- 'examples/**' | |
- '.github/**' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'CHANGELOG.md' | |
- 'MANIFEST.in' | |
- 'readme.md' | |
- 'scripts/**' | |
workflow_dispatch: | |
jobs: | |
build_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install System Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt install libasound2-dev | |
- name: Install Build Tools | |
run: | | |
python -m pip install build wheel | |
- name: Build Distribution Packages (bdist_wheel) | |
run: | | |
python setup.py bdist_wheel | |
- name: Install package | |
run: | | |
pip install .[extras,linux] |