Skip to content

Add options to turn off testing and documentation #19

Add options to turn off testing and documentation

Add options to turn off testing and documentation #19

Workflow file for this run

name: Publish Docs
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: dia doxygen graphviz mscgen texlive-bibtex-extra perl
- name: Generate
run: |
cmake -B build -S .
cmake --build build -t doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
force_orphan: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/doc/html