Skip to content

Aligning CI scripts with SnapPy. #218

Aligning CI scripts with SnapPy.

Aligning CI scripts with SnapPy. #218

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: [ubuntu-22.04, macos-12, macos-14, windows-2019]
steps:
- uses: actions/checkout@v3
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
# Skip Python 2.7 and 3.5, 32 bit Linux, and PyPy
CIBW_SKIP: "*-manylinux_i686 *musllinux* pp*"
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12
CIBW_BEFORE_BUILD: pip install cython
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -m spherogram.test
- uses: actions/upload-artifact@v3
with:
name: spherogram_wheels
path: ./wheelhouse/*.whl