summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build_cmake.yml
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-12 18:18:34 (GMT)
committerGitHub <noreply@github.com>2020-12-12 18:18:34 (GMT)
commit1dee1116a4e38be3867913d04fbed0c346db1c65 (patch)
tree3c4e9c5c335c2eac46598947e5e519d1551c2726 /.github/workflows/build_cmake.yml
parent9ccc3e4deda195f9ba7dde5c64c3b75f67285c74 (diff)
downloadDoxygen-1dee1116a4e38be3867913d04fbed0c346db1c65.zip
Doxygen-1dee1116a4e38be3867913d04fbed0c346db1c65.tar.gz
Doxygen-1dee1116a4e38be3867913d04fbed0c346db1c65.tar.bz2
Update build_cmake.yml
Diffstat (limited to '.github/workflows/build_cmake.yml')
-rw-r--r--.github/workflows/build_cmake.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 9bf2ba4..b8bc55b 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -45,6 +45,10 @@ jobs:
-B build
-D CMAKE_BUILD_TYPE=$ENV{BUILD_TYPE}
-G Ninja
+ -Dbuild_doc=YES
+ -Dbuild_app=YES
+ -Dbuild_parse=YES
+ -Dbuild_xmlparser=YES
RESULT_VARIABLE result
)
if (NOT result EQUAL 0)
@@ -90,3 +94,14 @@ jobs:
message(FATAL_ERROR "Running tests failed!")
endif()
+ - name: Generate documentation
+ shell: cmake -P {0}
+ run: |
+ execute_process(
+ COMMAND cmake --build build --target docs
+ RESULT_VARIABLE result
+ )
+ if (NOT result EQUAL 0)
+ message(FATAL_ERROR "Bad exit status")
+ endif()
+