From 94d7ed300e617d2d0d2d70891fde69d4b0ce3930 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 1 Sep 2021 18:29:42 -0400 Subject: [PATCH] [docs] ci: build documentation on GitHub Actions --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69cf3cc4..88e49429 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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)