Skip to content

Upgrade to Doxygen 1.12.0 (#146) #57

Upgrade to Doxygen 1.12.0 (#146)

Upgrade to Doxygen 1.12.0 (#146) #57

Workflow file for this run

name: docs
on:
push:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- 'include/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'cmake/**'
- '*.md'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
generate_docs:
runs-on: ubuntu-latest
container: libfn/ci-docs:latest
steps:
- uses: actions/checkout@v4
# Guardrail to ensure that we do not update docs after a bad merge
- name: Build and run tests
continue-on-error: false
run: |
mkdir .build
cd .build
cmake -DDOCS=On ..
cmake --build .
ctest
- name: Export docs
continue-on-error: false
run: |
cd .build
cmake --build . --target export_docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./.build/docs
name: docs-develop
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: docs-develop