summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2022-08-09 17:40:58 +0000
committerSimon McVittie <smcv@collabora.com>2022-08-10 11:18:20 +0000
commitdb441d3017b73ecc44c4fd3507a0e38fc30a5d59 (patch)
tree0942e01e02914d81b7f217c73f28783e843f107d /tools
parent2659a0f18e832f4a18f868262163f277b1443db6 (diff)
downloaddbus-db441d3017b73ecc44c4fd3507a0e38fc30a5d59.tar.gz
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.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci-build.sh10
1 files changed, 6 insertions, 4 deletions
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