Skip to content

Commit 05edc3e

Browse files
committed
Add the Windows workflow.
1 parent ae33389 commit 05edc3e

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

.github/workflows/windows.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Windows 64bit
2+
3+
on: [push, pull_request]
4+
5+
6+
jobs:
7+
Windows:
8+
name: Build Windows installer 64bit
9+
runs-on: windows-latest
10+
11+
steps:
12+
- name: Setup Python
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: '3.12'
16+
architecture: 'x64' # Trying 64 bit
17+
18+
- name: Install packages
19+
run: |
20+
python -m pip install setuptools
21+
python -m pip install "cython<3.0" sphinx sphinx_rtd_theme wheel pyx "PyInstaller==5.12"
22+
python -m pip install FXrays knot_floer_homology
23+
python -m pip install --extra-index-url https://test.pypi.org/simple cypari
24+
25+
- name: Install PLink
26+
run: python -m pip install https://github.com/3-manifolds/PLink/archive/master.zip
27+
28+
- name: Install low_index
29+
run: python -m pip install https://github.com/3-manifolds/low_index/archive/master.zip
30+
31+
- name: Install manifolds
32+
run: |
33+
python -m pip install https://github.com/3-manifolds/snappy_manifolds/archive/master.zip
34+
python -m pip install https://github.com/3-manifolds/snappy_15_knots/archive/master.zip
35+
36+
- name: Install spherogram
37+
run: python -m pip install https://github.com/3-manifolds/spherogram/archive/master.zip
38+
39+
- name: Install snappy
40+
run: |
41+
git clone https://github.com/3-manifolds/snappy/
42+
cd snappy
43+
python setup.py pip_install
44+
45+
- name: Do the tests
46+
run: python -m snappy.test --skip-modern-opengl
47+
48+
- name: Build the installer
49+
run: |
50+
cd snappy/windows_exe
51+
python make.py
52+
53+
- uses: actions/upload-artifact@v3
54+
with:
55+
name: InstallSnapPy-Python3.exe
56+
path: snappy/windows_exe/InstallSnapPy-Python3.exe
57+
58+
- uses: actions/upload-artifact@v3
59+
with:
60+
name: InstallSnapPy-Dbg.exe
61+
path: snappy/windows_exe/InstallSnapPy-Dbg.exe

0 commit comments

Comments
 (0)