-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (50 loc) · 1.98 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Windows 64bit
on: [push, pull_request]
jobs:
Windows:
name: Build Windows installer 64bit
runs-on: windows-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
architecture: 'x64' # Trying 64 bit
- name: Install packages
run: |
python -m pip install cython sphinx sphinx_rtd_theme wheel pyx "PyInstaller==6.11.1"
python -m pip install FXrays knot_floer_homology low_index
python -m pip install --extra-index-url https://test.pypi.org/simple cypari
- name: Install PLink
run: python -m pip install https://github.com/3-manifolds/PLink/archive/master.zip
- name: Install manifolds
run: |
python -m pip install https://github.com/3-manifolds/snappy_manifolds/archive/master.zip
python -m pip install https://github.com/3-manifolds/snappy_15_knots/archive/master.zip
- name: Install spherogram
run: python -m pip install https://github.com/3-manifolds/spherogram/archive/master.zip
- name: Install snappy
run: |
git clone https://github.com/3-manifolds/snappy/
cd snappy
python setup.py pip_install
python doc_src/build_doc_add_to_wheel.py dist
python -m pip install --force-reinstall --no-index --no-cache-dir --no-deps --find-links ./dist snappy
- name: Do the tests
run: python -m snappy.test --skip-gui
- name: Build the installer
run: |
cd snappy/windows_exe
python make.py
- uses: actions/upload-artifact@v4
with:
name: InstallSnapPy-Python3.exe
path: snappy/windows_exe/InstallSnapPy-Python3.exe
- uses: actions/upload-artifact@v4
with:
name: InstallSnapPy-Dbg.exe
path: snappy/windows_exe/InstallSnapPy-Dbg.exe
- uses: actions/upload-artifact@v4
with:
name: wheels
path: snappy/dist/*.whl