2020-06-08 00:31:33 -07:00
|
|
|
name: Docs
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-01-27 10:52:49 -08:00
|
|
|
- uses: actions/checkout@v3
|
2020-06-08 00:31:33 -07:00
|
|
|
- name: Set up Python 3.8
|
2023-01-27 10:52:49 -08:00
|
|
|
uses: actions/setup-python@v4
|
2020-06-08 00:31:33 -07:00
|
|
|
with:
|
|
|
|
python-version: 3.8
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
pip install -r requirements.txt
|
|
|
|
- name: Build pycapnp and install
|
|
|
|
run: |
|
|
|
|
python setup.py build
|
|
|
|
pip install .
|
|
|
|
- name: Build documentation
|
|
|
|
run: |
|
|
|
|
sphinx-build docs build/html
|