Skip to content

ignore mypy issues

ignore mypy issues #74

name: PyPI win and macos deployer
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
# Build and deploy Windows AMD64, macOS x86 & macOS arm64 wheels
Matrix-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Python 3.x
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: "pip install setuptools wheel cython"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
# Does not fail at unsupported Python versions!
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-*
- name: Upload wheels
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
ls -l ./wheelhouse
pip install twine
twine upload --skip-existing ./wheelhouse/*.whl