-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 898 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
name: Doxygen
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install Doxygen
run: |
ver="1.9.8"
dir="$PWD"
cd "${TMPDIR:-/tmp}"
curl -OL https://www.doxygen.nl/files/doxygen-"$ver".linux.bin.tar.gz
tar xvzf doxygen-"$ver".linux.bin.tar.gz
cd doxygen-"$ver"
sudo make install
cd "$dir"
- name: CMake
run: cmake -B build -H. -DCMAKE_BUILD_TYPE=Release
- name: Make docs
run: cmake --build build --target docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs/html