Explicitly adding extern C++ to functions declared in SnapPea.h but d… #507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Wheels | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
name: Install Python | |
with: | |
python-version: '3.9' | |
- name: Install cibuildwheel | |
run: | | |
python -m pip install cibuildwheel | |
- name: Build wheels | |
run: | | |
python -m cibuildwheel --output-dir wheelhouse | |
env: | |
# Skip Python 2.7, 3.5, 3.11, and PyPy | |
CIBW_SKIP: cp27-* cp35-* pp* | |
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_windows_wheels | |
path: ./wheelhouse/*.whl |