Skip to content

Build wheels

Build wheels #2

Workflow file for this run

name: Build wheels
on: workflow_dispatch
jobs:
build_wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup pip
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install cibuildwheel==2.10.0
- name: Build wheel
run: python -m cibuildwheel --output-dir dist/
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 i686"
CIBW_SKIP: "*-musllinux_*"
- uses: actions/upload-artifact@v3
with:
path: ./dist/*.whl