Skip to content

Commit c5f9f06

Browse files
Added documentation build
1 parent c2dc485 commit c5f9f06

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/download-and-deploy-artifacts.yml

+26-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,33 @@ jobs:
1414
name: Ubuntu -> Build
1515

1616
steps:
17+
- name: Install Doxygen
18+
uses: DiligentGraphics/github-action/install-doxygen@v6
19+
1720
- name: Checkout code
18-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
22+
23+
- name: Checkout Diligent Engine
24+
uses: actions/checkout@v4
25+
with:
26+
repository: DiligentGraphics/DiligentEngine
27+
path: ${{github.workspace}}/DiligentEngine
28+
submodules: true
29+
30+
- name: Build Documentation
31+
working-directory: ${{github.workspace}}/DiligentEngine
32+
shell: bash
33+
run: |
34+
# Build page structure
35+
python Doc/md_pages.py Doc/pages.dox
36+
# Build documentation
37+
mkdir -p build/docs
38+
# NB: the build path build/docs is specified in the Doxygen config file
39+
doxygen Doc/doxygen.cfg
40+
# Move documentation to the root directory
41+
mv ${{github.workspace}}/DiligentEngine/build/docs/html ${{github.workspace}}/docs
42+
# Remove the source directory
43+
rm -rf ${{github.workspace}}/DiligentEngine
1944
2045
- name: Download artifacts
2146
if: success()

0 commit comments

Comments
 (0)