-
Notifications
You must be signed in to change notification settings - Fork 131
64 lines (61 loc) · 2.03 KB
/
test-doc.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Base ns-3 CI job template for per-commit jobs involving building and testing
name: "Test documentation"
run-name: "test-doc"
on:
workflow_call:
workflow_dispatch:
jobs:
doxygen:
runs-on: ubuntu-latest
container:
image: archlinux
timeout-minutes: 120
steps:
# The following step is required in all jobs that use this repo's actions
- name: "Retrieve actions from repository"
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions
- name: "Install dependencies and checkout repo in ns-3"
uses: ./.github/actions/install-doc
- name: "Build ns-3"
env:
BUILD_ID: per-commit-g++-debug
COMPILER: g++
MODE: debug
uses: ./.github/actions/build
with:
save-ccache: "false"
store-artifacts: "false"
- name: "Build ns-3 assemble-introspected-command-line"
run: ./ns3 build assemble-introspected-command-line
- name: "Check documentation coverage and formatting"
run: |
doc/doxygen.warnings.report.sh -i -m lorawan
python3 utils/check-style-clang-format.py --no-formatting --no-tabs doc/introspected-doxygen.h doc/introspected-command-line.h
./ns3 clean
doxygen -v
- name: "Upload doxygen warnings as artifact"
if: failure()
uses: actions/upload-artifact@v4
with:
name: doxygen.warnings.log
path: doc/doxygen.warnings.log
models:
runs-on: ubuntu-latest
container:
image: archlinux
timeout-minutes: 120
steps:
# The following step is required in all jobs that use this repo's actions
- name: "Retrieve actions from repository"
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions
- name: "Install dependencies and checkout repo in ns-3"
uses: ./.github/actions/install-doc
- name: "Make html and latexpdf"
working-directory: doc/models
run: |
make html
make latexpdf