Change: Group dependabot updates #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
generate-xml-doc: | |
name: Generate documentation (XML) | |
runs-on: ubuntu-latest | |
container: greenbone/doxygen | |
steps: | |
- name: Check out gvmd | |
uses: actions/checkout@v4 | |
- name: Generate documentation (XML) | |
run: | | |
mkdir build | |
cd build | |
cmake -DSKIP_SRC=1 .. | |
make doc-xml 2> ~/doxygen-stderr.txt | |
- name: Upload doxygen error output as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: doxygen-stderr.txt | |
path: ~/doxygen-stderr.txt | |
- name: Upload XML documentation as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: xml-doc | |
path: build/doc/generated/xml/ |