Skip to content

Commit

Permalink
ci/macOS: build libiio docs
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Stanea <[email protected]>
  • Loading branch information
Adrian-Stanea committed Oct 23, 2024
1 parent 7fd6b59 commit 1c86a04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CI/macOS/install_deps
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@ build_libiio() {
chmod +x macos_tar_fixup.sh
./macos_tar_fixup.sh
cd "${WORKDIR}"

echo "#### Building with documentation"
cd "${WORKDIR}"/libiio/build
cmake "${WORKDIR}"/libiio \
-Werror=dev \
-DCOMPILE_WARNING_AS_ERROR=ON \
-DCPP_BINDINGS=ON \
-DPYTHON_BINDINGS=ON \
-DWITH_DOC=ON \
-DWITH_SERIAL_BACKEND=ON
make
cd "${WORKDIR}"
}

install_packages
Expand Down

0 comments on commit 1c86a04

Please sign in to comment.