2021-10-03 14:58:24 +00:00
|
|
|
name: Build wheels
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_wheels:
|
|
|
|
name: Build wheels on ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
|
|
|
|
steps:
|
2022-11-11 19:05:43 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-03 14:58:24 +00:00
|
|
|
|
|
|
|
- name: Build wheels
|
2022-11-11 19:05:43 +00:00
|
|
|
uses: pypa/cibuildwheel@v2.11.2
|
2021-10-03 14:58:24 +00:00
|
|
|
env:
|
|
|
|
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
|
|
|
|
CIBW_TEST_REQUIRES: tox
|
|
|
|
CIBW_TEST_COMMAND: cd {project} && tox
|
|
|
|
CIBW_TEST_SKIP: "*-win*"
|
|
|
|
CIBW_BUILD_VERBOSITY: 1
|
|
|
|
|
|
|
|
- name: Store wheels
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
path: ./wheelhouse/*.whl
|