Skip to content

Jorwoods/cibuildwheel (#204) #11

Jorwoods/cibuildwheel (#204)

Jorwoods/cibuildwheel (#204) #11

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macOS-11]
steps:
- uses: actions/checkout@v4
# Used to host cibuildwheel
- uses: actions/setup-python@v3
- name: Build wheels for ${{ matrix.os }}
uses: pypa/[email protected]
env:
CIBW_BUILD: "cp39-*64 cp310-*64 cp311-*64 cp312-*64"
CIBW_SKIP: "*musllinux*"
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {project}/pantab/tests"
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl