Skip to content

Commit

Permalink
ci(docs): disable docs for some builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Oct 12, 2024
1 parent 75df945 commit 78c6751
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packaging/linux/Arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ depends=(
makedepends=(
'cmake'
'cuda'
'doxygen'
"gcc${_gcc_version}"
'graphviz'
'git'
'make'
'nodejs'
Expand Down Expand Up @@ -80,6 +78,7 @@ build() {
-S "$pkgname" \
-B build \
-Wno-dev \
-D BUILD_DOCS=OFF \
-D BUILD_WERROR=ON \
-D CMAKE_INSTALL_PREFIX=/usr \
-D SUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine \
Expand Down
8 changes: 4 additions & 4 deletions packaging/sunshine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ def install
-DSUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'
]

if build.with? "docs-off"
ohai "Building docs: disabled"
args << "-DBUILD_DOCS=OFF"
else
if build.with? "docs"
ohai "Building docs: enabled"
args << "-DBUILD_DOCS=ON"
else
ohai "Building docs: disabled"
args << "-DBUILD_DOCS=OFF"
end

if build.without? "dynamic-boost"
Expand Down

0 comments on commit 78c6751

Please sign in to comment.