Try building with macOS, see if that has audio support.

This commit is contained in:
Matthew Stratford 2021-04-07 22:08:48 +01:00
parent 5113f3490e
commit d50999fa57

View file

@ -3,9 +3,9 @@ name: Python package
on: [push]
jobs:
build-ubuntu:
build-macos:
runs-on: ubuntu-latest
runs-on: macos-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
@ -16,19 +16,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Ubuntu dependencies
run: |
cd build
sudo apt update
chmod +x install-ubuntu.sh
#./install-ubuntu.sh
# Use pulseaudio for dummy output
sudo apt-get install pulseaudio jackd2 alsa-utils dbus-x11
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
if [ -f build/requirements.txt ]; then pip install -r build/requirements.txt; fi
pip install -r build/requirements.txt
pip install -r build/requirements-macos.txt
- name: Install bapsicle as module
run: |
pip install -e .