Skip to content

Commit 1e4ac70

Browse files
committed
ci: add a job in the build.yml workflow for generating documentation
1 parent 13fc4f2 commit 1e4ac70

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,23 @@ jobs:
9595
source-dir: ${{ matrix.package }}
9696
cxx-compiler: cl
9797
run-build: true
98+
99+
docs:
100+
runs-on: ubuntu-latest
101+
strategy:
102+
matrix:
103+
package: [error]
104+
steps:
105+
- name: Checkout repository
106+
uses: actions/checkout@v3.5.3
107+
108+
- name: Install requirements
109+
run: |
110+
sudo apt-get install -y doxygen
111+
112+
- name: Configure and build documentation
113+
uses: threeal/cmake-action@v1.2.0
114+
with:
115+
source-dir: ${{ matrix.package }}
116+
options: BUILD_DOCS=ON
117+
run-build: true

0 commit comments

Comments
 (0)