-
Notifications
You must be signed in to change notification settings - Fork 158
36 lines (33 loc) · 984 Bytes
/
build-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
name: 'Build Documentation'
on:
push:
branches: [ main, stable, oldstable ]
jobs:
generate-doc-and-upload-coverage:
name: Build XML documentation and upload coverage
runs-on: ubuntu-latest
container: greenbone/doxygen
steps:
- name: Run the c lang coverage action
uses: greenbone/actions/doc-coverage-clang@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
build-gmp-doc:
name: Build GMP documentation
runs-on: ubuntu-latest
container: ${{ vars.IMAGE_REGISTRY }}/greenbone/gvmd-build:stable
steps:
- name: Check out gvmd
uses: actions/checkout@v4
- name: Generate GMP documentation (HTML)
run: |
mkdir build
cd build
cmake -DSKIP_SRC=1 ..
make doc-gmp
- name: Upload GMP documentation artifact
uses: actions/upload-artifact@v4
with:
name: gmp.html
path: build/doc/gmp.html
retention-days: 14