Skip to content

Inside view: de-duplicating code to check whether we hit a peripheral… #91

Inside view: de-duplicating code to check whether we hit a peripheral…

Inside view: de-duplicating code to check whether we hit a peripheral… #91

name: macOS Wheels
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11]
steps:
- uses: actions/checkout@v3
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-*
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_BEFORE_BUILD: >
pip install cython FXrays low_index sphinx sphinx_rtd_theme &&
pip install --pre --extra-index-url https://test.pypi.org/simple cypari &&
pip install git+https://github.com/3-manifolds/PLink &&
pip install git+https://github.com/3-manifolds/snappy_manifolds &&
pip install git+https://github.com/3-manifolds/Spherogram
CIBW_BEFORE_TEST: >
pip install cython low_index &&
pip install --pre --extra-index-url https://test.pypi.org/simple cypari &&
pip install git+https://github.com/3-manifolds/PLink &&
pip install git+https://github.com/3-manifolds/snappy_manifolds &&
pip install git+https://github.com/3-manifolds/Spherogram
CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl
- uses: actions/upload-artifact@v3
with:
name: snappy_macos_wheels
path: ./wheelhouse/*.whl