File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 uses : actions/checkout@v4
2424 - name : Build Docs
2525 run : |
26- cmake -B ${{github.workspace}}/build
27- cmake --build ${{github.workspace}}/build/docs --target docs
26+ cmake -B ${{github.workspace}}/build -DBUILD_DOCS=ON
27+ cmake --build ${{github.workspace}}/build
2828 mv ${{github.workspace}}/build/docs/html /root/
2929 - name : Upload Artifact
3030 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
55
66configure_file (${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY )
77
8- add_custom_target (docs
8+ add_custom_target (docs ALL
99 COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
1010 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR }
1111 COMMENT "Generating API documentation with Doxygen"
You can’t perform that action at this time.
0 commit comments