test-doc #3
Workflow file for this run
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
# 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-22.04 | |
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 -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 |