From d50999fa57572e8c7d8b5a64b3fb1e13da67cee3 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Wed, 7 Apr 2021 22:08:48 +0100 Subject: [PATCH] Try building with macOS, see if that has audio support. --- .github/workflows/build.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d859ef..4bee3ff 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 .