summaryrefslogtreecommitdiffstats
path: root/.github/workflows/main-cmake.yml
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-01-29 13:38:54 (GMT)
committerGitHub <noreply@github.com>2024-01-29 13:38:54 (GMT)
commit365e23340cd001ee751da366235ae420156ad728 (patch)
tree49d5a73db00b4eb8ecdd8c872027f58265e18ba4 /.github/workflows/main-cmake.yml
parent1bea9e6100fd7c92caf31eba96766aa8ec4f356c (diff)
downloadhdf5-365e23340cd001ee751da366235ae420156ad728.zip
hdf5-365e23340cd001ee751da366235ae420156ad728.tar.gz
hdf5-365e23340cd001ee751da366235ae420156ad728.tar.bz2
Fix doxygen errors (#3962)
* Switch warnings as errors to default OFF * Enable mac docs * Add doxygen action uses step * Use html div around snippet * Allow preset name to be an argument to cmake-ctest.yml
Diffstat (limited to '.github/workflows/main-cmake.yml')
-rw-r--r--.github/workflows/main-cmake.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/main-cmake.yml b/.github/workflows/main-cmake.yml
index 7669bd9..3294fb1 100644
--- a/.github/workflows/main-cmake.yml
+++ b/.github/workflows/main-cmake.yml
@@ -52,7 +52,7 @@ jobs:
cpp: ON
fortran: OFF
java: ON
- docs: OFF
+ docs: ON
libaecfc: ON
localaec: OFF
zlibfc: ON
@@ -96,7 +96,7 @@ jobs:
cpp: ON
fortran: OFF
java: ON
- docs: OFF
+ docs: ON
libaecfc: ON
localaec: OFF
zlibfc: ON
@@ -136,7 +136,7 @@ jobs:
- name: Install Linux Dependencies
run: |
sudo apt update
- sudo apt-get install ninja-build doxygen graphviz
+ sudo apt-get install ninja-build graphviz
sudo apt install libssl3 libssl-dev libcurl4 libcurl4-openssl-dev
sudo apt install gcc-12 g++-12 gfortran-12
echo "CC=gcc-12" >> $GITHUB_ENV
@@ -151,9 +151,14 @@ jobs:
if: matrix.os == 'windows-latest'
- name: Install Dependencies (macOS)
- run: brew install ninja doxygen
+ run: brew install ninja
if: matrix.os == 'macos-13'
+ - name: Install Dependencies
+ uses: ssciwr/doxygen-install@v1
+ with:
+ version: "1.9.7"
+
- name: Set environment for MSVC (Windows)
run: |
# Set these environment variables so CMake picks the correct compiler
@@ -179,6 +184,7 @@ jobs:
-DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
+ -DHDF5_ENABLE_DOXY_WARNINGS=ON \
-DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} \
-DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} \
-DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} \