Skip to content

Add X libs for doc generation (#119) #46

Add X libs for doc generation (#119)

Add X libs for doc generation (#119) #46

Workflow file for this run

name: Update docs
on:
push:
branches:
- master
jobs:
publish_docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install GL/X11 packages for rendering (Linux only)
run: |
sudo apt-get update && sudo apt-get -y --no-install-recommends install \
libgles2-mesa-dev \
libx11-dev
if: ${{ contains(matrix.os, 'ubuntu') }}
- name: Create Build Environment
run: |
cmake -E make_directory ${{runner.workspace}}/build
sudo apt install graphviz doxygen
- name: Build docs
working-directory: ${{runner.workspace}}/build
shell: bash
run: |
cmake $GITHUB_WORKSPACE
cmake --build . --target doc
- name: Deploy to github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ${{runner.workspace}}/build/doc/html