-
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 924 Bytes
/
generate_docs.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: generate docs
on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
release:
types: [released]
jobs:
docs:
runs-on: ubuntu-latest
container:
image: ghcr.io/dnkpp/gcc:14
steps:
- uses: actions/checkout@v4
# we must configure, because the Doxyfile is generated via cmake
- name: Configure
run: |
cmake \
-S . \
-B build \
--log-level=VERBOSE \
-DMIMICPP_CONFIGURE_DOXYGEN=ON \
-DMIMICPP_BUILD_TESTS=OFF \
-DMIMICPP_BUILD_EXAMPLES=OFF
- name: Generate Doxygen Documentation
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: build/docs/Doxyfile
- name: Upload html documentation
uses: actions/upload-artifact@v4
with:
name: HTML-Documentation
path: build/docs/html