summaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorrealstealthninja <68815218+realstealthninja@users.noreply.github.com>2026-09-22 05:24:08 +0530
committerj-p <jp_bruyere@hotmail.com>2026-09-22 23:19:26 +0200
commit09bbc7dec8074b0130d74336d0a19b1486e8a1c4 (patch)
tree9cc6ffe6dd6b574b1102151686e3bb4fa3839c4f
parent12fccb7175d0b76dc813689dc32050b628f9adb2 (diff)
ci: add a doxygen workflow
-rw-r--r--.github/workflows/doxygen.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
new file mode 100644
index 0000000..9b4c7eb
--- /dev/null
+++ b/.github/workflows/doxygen.yml
@@ -0,0 +1,32 @@
+name: Doxygen CI
+on:
+ push:
+ branches:
+ - test
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/checkout@v7
+ with:
+ submodules: true
+
+ - name: Install requirements
+ run: sudo apt install graphviz ninja doxygen cmake
+
+ - name: Configure Cmake
+ run: cmake -G Ninja -B build -S . -DVKVG_BUILD_DOCS=TRUE
+
+ - name: Build documentation
+ run: cmake --build build -t doxygen
+
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v4
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: build/doc/html
+
+