From 201f8be652e9344dfa247b035a66e52025afa149 Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Wed, 9 Apr 2025 13:29:31 +0200 Subject: [PATCH 2/2] ci: Check for missing dependencies in meson build Extends the meson build on Debian to also check for missing dependencies by executing ninja -t missingdeps right after the build. This highlights unindended dependencies. Reviewed-by: Andres Freund https://postgr.es/m/CALdSSPi5fj0a7UG7Fmw2cUD1uWuckU_e8dJ+6x-bJEokcSXzqA@mail.gmail.com --- .cirrus.tasks.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.cirrus.tasks.yml b/.cirrus.tasks.yml index 98f3455eb72..94ded37e29a 100644 --- a/.cirrus.tasks.yml +++ b/.cirrus.tasks.yml @@ -528,8 +528,17 @@ task: build-32 EOF - build_script: su postgres -c 'ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET}' - build_32_script: su postgres -c 'ninja -C build-32 -j${BUILD_JOBS} ${MBUILD_TARGET}' + build_script: | + su postgres <<-EOF + ninja -C build -j${BUILD_JOBS} ${MBUILD_TARGET} + ninja -C build -t missingdeps + EOF + + build_32_script: | + su postgres <<-EOF + ninja -C build-32 -j${BUILD_JOBS} ${MBUILD_TARGET} + ninja -C build -t missingdeps + EOF upload_caches: ccache -- 2.49.0