Files
m-aXimilian b1923a490c Improve Pipeline & Misc Improvements (#12)
* split pipeline

* add dedicated doc build step

* parallel builds

* fix permissions

* rm push trigger

* mv gcc ubuntu

* add windows build

* always build the docs

* doc alignment

* checkout recursive

* depend on builds for documentation

* set standard via cmake

* update libCZI to main

* pretty_function win32

* version history update

* disable windows release build

missing dependencies for doc generation

trigger ci on push to main

adapt doc-gen job require only doxygen
2026-02-16 20:36:48 +01:00

44 lines
927 B
YAML

name: generate-docs
on:
workflow_dispatch:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: setup
run: |
sudo apt update
sudo apt -y install doxygen graphviz
- name: Generate Documentation
run: |
cmake -S . -B build -DPIXELARIUM_BUILD_DOCS_ONLY=ON
cmake --build build
- name: Upload Documentation Files as Artifacts
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: ${{github.workspace}}/build/doc/html
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4