Skip to content

Commit cd2c3ea

Browse files
authored
Merge pull request #286 from bratpiorka/rrudnic_pr_build_docs
build-only docs w/o deploy on pr push
2 parents 217c00d + 4d283d3 commit cd2c3ea

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/pr_push.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,26 @@ jobs:
116116
- name: Check clang-format
117117
run: cmake --build build --target clang-format-check
118118

119+
DocsBuild:
120+
name: Build docs
121+
runs-on: ubuntu-latest
122+
123+
steps:
124+
- name: Checkout repository
125+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
126+
127+
- name: Install doxygen
128+
run: |
129+
sudo apt-get update
130+
sudo apt-get install -y doxygen
131+
132+
- name: Install pip requirements
133+
run: python3 -m pip install -r third_party/requirements.txt
134+
135+
- name: Build the documentation
136+
working-directory: scripts
137+
run: python3 generate_docs.py
138+
119139
Spellcheck:
120140
uses: ./.github/workflows/spellcheck.yml
121141
Build:

0 commit comments

Comments
 (0)