From 2ea706495cf2fa262199c0c2617230c935dc3b8b Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sat, 28 Nov 2020 18:50:02 +0100 Subject: CI: switch from Travis-CI to Github Actions --- .github/workflows/sounddevice-data.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sounddevice-data.yml (limited to '.github/workflows/sounddevice-data.yml') diff --git a/.github/workflows/sounddevice-data.yml b/.github/workflows/sounddevice-data.yml new file mode 100644 index 0000000..61d1014 --- /dev/null +++ b/.github/workflows/sounddevice-data.yml @@ -0,0 +1,31 @@ +name: Test PortAudio binaries +on: [push, pull_request] +jobs: + binaries: + strategy: + matrix: + os: [macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Double-check Python version + run: | + python --version + - name: Clone Git repository (with submodules) + uses: actions/checkout@v2 + with: + path: git-repo + submodules: true + - name: Install Python package + working-directory: git-repo + run: | + python -m pip install . + - name: Run tests + run: | + python -m sounddevice + python -c "import sounddevice as sd; print(sd._libname)" + python -c "import sounddevice as sd; print(sd.get_portaudio_version())" + -- cgit v1.2.3