summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-27 12:41:41 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit5eee2d552a27688a1ff33e3a587f45e6406c85cf (patch)
tree4a7b4e71b5f98374f74f59373ea677572d54aa6d /tools
parent600926adce7ecc7d93af323749c7d02621f0cf08 (diff)
downloaddbus-5eee2d552a27688a1ff33e3a587f45e6406c85cf.tar.gz
CI: Verify that Autotools `make dist` includes everything needed for Meson
This is similar to what we have done for CMake since dbus/dbus!87 (commit 1063bba "CI: Do the CMake native debug build from an Autotools `make dist`"). Our official source releases are Autotools `make dist` tarballs, so our CI should assert that such tarballs contain everything necessary to do a CMake or Meson build, so that downstream distributions using our tarballs as source can choose their preferred build system. When the Meson build system is ready to be recommended as more preferred than Autotools, we can do as GLib did: stop releasing `make dist` tarballs, and start releasing `meson dist` tarballs instead (which will change nothing for Meson or CMake users, but Autotools users will have to run autoreconf or autogen.sh before building). Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci-build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh
index 2f309c19..694fc128 100755
--- a/tools/ci-build.sh
+++ b/tools/ci-build.sh
@@ -181,10 +181,10 @@ rm -rf ci-build-dist
rm -rf src-from-dist
case "$ci_buildsys" in
- (cmake-dist)
- # Do an Autotools `make dist`, then build *that* with CMake,
+ (cmake-dist|meson-dist)
+ # Do an Autotools `make dist`, then build *that* with CMake or Meson,
# to assert that our official release tarballs will be enough
- # to build with CMake.
+ # to build with CMake or Meson.
mkdir -p ci-build-dist
( cd ci-build-dist; ../configure )
make -C ci-build-dist dist
@@ -433,7 +433,7 @@ case "$ci_buildsys" in
( cd DESTDIR && find . -ls)
;;
- (meson)
+ (meson|meson-dist)
# The test coverage for OOM-safety is too verbose to be useful on
# travis-ci, and too slow when running under wine.
export DBUS_TEST_MALLOC_FAILURES=0