From db441d3017b73ecc44c4fd3507a0e38fc30a5d59 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 9 Aug 2022 17:40:58 +0000 Subject: ci-build.sh: Add a autotools ci_variant without the docs archive This is needed to add autotools support to the FreeBSD CI since we don't include all the packages needed to build dbus-docs.tar.xz. --- tools/ci-build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/ci-build.sh b/tools/ci-build.sh index c5915fac..0e72b2d9 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -127,7 +127,7 @@ init_wine() { : "${ci_test_fatal:=yes}" # ci_variant: -# One of debug, reduced, legacy, production +# One of debug, reduced, legacy, production, production-no-upload-docs : "${ci_variant:=production}" # ci_runtime: @@ -376,9 +376,11 @@ case "$ci_buildsys" in ${make} install DESTDIR=$(pwd)/DESTDIR ( cd DESTDIR && find . -ls ) - ${make} -C doc dbus-docs.tar.xz - tar -C $(pwd)/DESTDIR -xf doc/dbus-docs.tar.xz - ( cd DESTDIR/dbus-docs && find . -ls ) + if [ "$ci_variant" != "production-no-upload-docs" ]; then + ${make} -C doc dbus-docs.tar.xz + tar -C $(pwd)/DESTDIR -xf doc/dbus-docs.tar.xz + ( cd DESTDIR/dbus-docs && find . -ls ) + fi if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then sudo ${make} install -- cgit v1.2.1