Skip to content

Revert "test for device name not being NULL": this doesn't work in th… #27

Revert "test for device name not being NULL": this doesn't work in th…

Revert "test for device name not being NULL": this doesn't work in th… #27

Workflow file for this run

name: CI build wheels
# Build on every checkin
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Need to be PIP517 build in order to avoid setuptools bug - https://github.com/pypa/cibuildwheel/issues/813
# I dunno enough about the work involved in that - sorry!
# os: [ubuntu-latest, windows-latest, macos-11, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
- name: Build wheels
uses: pypa/[email protected]
env:
# I can't get windows tests to work, but at least here's linux testing the built wheels
CIBW_TEST_REQUIRES: pytest
CIBW_ARCHS_MACOS: 'x86_64 arm64'
CIBW_BUILD: 'cp39-* cp310-* cp311-* cp312-*'
CIBW_TEST_COMMAND_LINUX: "cd {project} && pytest -v tests/"
- uses: actions/upload-artifact@v2
with:
name: pypi_artifacts
path: ./wheelhouse/*.whl