diff options
author | Simon McVittie <smcv@collabora.com> | 2022-06-27 12:41:41 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-13 20:36:13 +0100 |
commit | 5eee2d552a27688a1ff33e3a587f45e6406c85cf (patch) | |
tree | 4a7b4e71b5f98374f74f59373ea677572d54aa6d /tools | |
parent | 600926adce7ecc7d93af323749c7d02621f0cf08 (diff) | |
download | dbus-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-x | tools/ci-build.sh | 8 |
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 |