Skip to content

print

print #27

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:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
# os: [windows-2019]
# os: [ubuntu-20.04, windows-2019, macOS-10.15]
steps:
- uses: actions/checkout@v3
# Used to host cibuildwheel
- uses: actions/setup-python@v2
- name: Install cibuildwheel
run: python -m pip install cibuildwheel twine virtualenv numpy
- name: Build wheels
uses: pypa/cibuildwheel@v2.9.0
env:
CIBW_BUILD: 'cp39-* cp310-* cp311*'
CIBW_SKIP: 'pp* *686* *-musllinux_*'
CIBW_ARCHS_MACOS: 'x86_64 arm64'
#run: |
# # python setup.py build_ext
# python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
- name: Upload wheels
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINETOKEN }}
run: |
echo $TWINE_USERNAME
echo $TWINE_PASSWORD
python -m pip install -U twine virtualenv
twine upload --skip-existing wheelhouse/*.whl
continue-on-error: true