[docs] ci: build documentation on GitHub Actions

This commit is contained in:
Quantum 2021-09-01 18:29:42 -04:00 committed by Geoffrey McRae
parent 924bd9e543
commit 94d7ed300e

View file

@ -150,3 +150,20 @@ jobs:
run: |
cd obs/build
make -j$(nproc)
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Update apt
run: |
sudo apt-get update
- name: Install docs dependencies
run: |
sudo apt-get install python3-sphinx
- name: Build docs
run: |
cd doc
make dirhtml -j$(nproc)