-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (32 loc) · 1021 Bytes
/
Doxygen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Doxygen
on:
push:
branches:
- main
env:
BUILD_TYPE: Release
jobs:
Doxygen:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository and Submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Dependencies
run: sudo apt install doxygen graphviz
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Run Doxygen
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -t doxygen
- name: Archive HTML Output
uses: actions/upload-artifact@v2
with:
name: Doxygen
path: ${{github.workspace}}/build/doxygen/html
- name: Deploy HTML Output
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{github.workspace}}/build/doxygen/html