summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-30 11:27:27 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-30 11:27:27 -0400
commit3ccfcf9c8f0a6c27af6bfcfaca9c27b52e8a2e48 (patch)
tree64a457e32f57da7c7236539745f5fe03a47ab907 /build.sh
parenta201035c28ea7a0ee0c4bd1b437e7096beff4164 (diff)
Disable build-time tests on Linux entirely.
Having done that, fall back to default `continue-on-error: false` for all platforms.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e5c53c84d2..60c62970df 100755
--- a/build.sh
+++ b/build.sh
@@ -192,9 +192,17 @@ pre_build()
# honor autobuild_configure_parameters same as sling-buildscripts
eval_autobuild_configure_parameters=$(eval $(echo echo $autobuild_configure_parameters))
+ # We build the viewer on Linux, but we haven't committed to support the
+ # Linux viewer. As of 2024-05-30, Linux build-time test infrastructure is
+ # not in place, so don't even bother running tests on Linux.
+ if [[ "$RUNNER_OS" == "Linux" ]]
+ then LL_TESTS=OFF
+ else LL_TESTS=ON
+ fi
+
"$autobuild" configure --quiet -c $variant \
${eval_autobuild_configure_parameters:---} \
- -DLL_TESTS:BOOL=ON \
+ -DLL_TESTS:BOOL=$LL_TESTS \
-DPACKAGE:BOOL=ON \
-DHAVOK:BOOL="$HAVOK" \
-DRELEASE_CRASH_REPORTING:BOOL="$RELEASE_CRASH_REPORTING" \