-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (28 loc) · 1010 Bytes
/
doxy.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
name: Deploy Doxygen
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
gen_doxygen:
name: generate doxygen for gh-pages
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: cd to repo
run: echo $GITHUB_WORKSPACE && cd $GITHUB_WORKSPACE
- name: install doxygen
run: sudo apt-get install -y doxygen graphviz
- name: setup cmake
run: mkdir build_lib && cd build_lib && cmake -G "Unix Makefiles" -DBUILD_WITH_INJECTION=ON -DCREATE_DOXYGEN_TARGET=ON -DCMAKE_BUILD_TYPE=Debug ..
- name: compile doumentation
run: cd build_lib && echo $(make help) && make doxygen
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/html # The folder the action should deploy.