Skip to content

Make X libs install step not conditional for update docs. (#120) #47

Make X libs install step not conditional for update docs. (#120)

Make X libs install step not conditional for update docs. (#120) #47

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
- 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