build(docs): add cmake target for docs (#2748)

This commit is contained in:
ReenigneArcher 2024-06-24 12:12:31 -04:00 committed by GitHub
commit 4683bcaf36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 176 additions and 315 deletions

View file

@ -107,6 +107,7 @@ RUN <<_MAKE
set -e
cmake \
-DCMAKE_CUDA_COMPILER:PATH=/build/cuda/bin/nvcc \
-DBUILD_DOCS=OFF \
-DBUILD_WERROR=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -116,7 +117,6 @@ cmake \
-DSUNSHINE_ENABLE_X11=ON \
-DSUNSHINE_ENABLE_DRM=ON \
-DSUNSHINE_ENABLE_CUDA=ON \
-DTESTS_ENABLE_PYTHON_TESTS=OFF \
/build/sunshine
make -j "$(nproc)"
cpack -G RPM