diff options
| -rw-r--r-- | .github/workflows/doxygen.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 0000000..6617769 --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,31 @@ +name: Doxygen CI +on: + push: + branches: + - master + +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-build doxygen cmake libvulkan1 libvulkan-dev + + - 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 to branch + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: build/doc/html + |