Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/pip_install_pyaudio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# A GitHub Action to demonstrate how to run pyaudio on Python 3.13 on Windows 11 on ARM.
# A GitHub Action to demonstrate how to run pyaudio on Python 3.14 before its release in Oct. 2024
name: pip_install_pyaudio
on:
push:
pull_request:
workflow_dispatch:
jobs:
pip_install_pyaudio:
strategy:
fail-fast: false
matrix: # https://github.com/CristiFati/pyaudio/blob/master/INSTALL
# macos-13 in Intel, macos-latest is Apple Silicon ARM
os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm]
python-version: [3.13, 3.14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- if: runner.os == 'Linux'
run: |
sudo apt-get update -qq
sudo apt-get install --yes portaudio19-dev # libasound-dev python3-pyaudio
- if: runner.os == 'macOS'
run: |
brew install portaudio
- if: runner.os == 'Windows'
shell: bash
run: |
systeminfo || true
vcpkg install portaudio:x86-windows-static
vcpkg install portaudio:x64-windows-static
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyaudio