Skip to content

asv: install needed dependencies #695

asv: install needed dependencies

asv: install needed dependencies #695

Workflow file for this run

name: Documentation
on:
push:
branches:
- master # Push events on master branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
# TODO: 3.x should be fine, but for now we enforce 3.10 to work around
# the "fatal error: longintrepr.h: No such file or directory" error
# triggered by revolve/cython in 3.11
python-version: '3.10'
- name: Install Sphinx
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx_rtd_theme
pip install -e .
- name: Generate documentation
working-directory: docs
run: make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_branch: gh-pages
publish_dir: ./docs/_build/html