forked from 3-manifolds/SnapPy
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.58 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'
- 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 sphinx FXrays &&
pip install --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 &&
pip install git+https://github.com/3-manifolds/low_index
CIBW_BEFORE_TEST: >
pip install cython &&
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 &&
pip install git+https://github.com/3-manifolds/low_index
CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl