Skip to content

Build more wheels

Build more wheels #57

Workflow file for this run

name: test
on:
workflow_dispatch:
pull_request: ~
push:
branches:
- master
jobs:
test:
name: "Test: Python ${{ matrix.python-version }} on ${{ matrix.os }}"
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ "3.11", "3.12" ]
include:
- os: "macos-latest"
python-version: "native"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
if: matrix.python-version != 'native' # To build cp312-cp312-macosx_14_0_arm64.whl
with:
python-version: ${{ matrix.python-version }}
- name: venv
run: |
python3 -m venv .venv
.venv/bin/pip3 install --upgrade pip
- name: build
run: |
.venv/bin/pip3 wheel .
- name: install
run: |
.venv/bin/pip3 install --no-index -f . webrtc-noise-gain
- name: test
run: |
.venv/bin/pip3 install pytest
.venv/bin/pytest -vv tests