Still on the docs #112
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 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 |