meson: ci: ensure tests are built before running them
authorAndres Freund <[email protected]>
Tue, 4 Feb 2025 22:45:56 +0000 (17:45 -0500)
committerAndres Freund <[email protected]>
Tue, 4 Feb 2025 22:56:19 +0000 (17:56 -0500)
commitb2bdb972c0df3b7091e39d1a31484e5e065519f4
tree21a7c5496101b0baa362440d80ab0eb509fa762a
parent26aca4de43d5b17916cd9204e9e2d1bf0964f6cb
meson: ci: ensure tests are built before running them

Meson 1.7 stopped building all the dependencies of tests as part of the
default build target. But it does breaks CI because we only built the default
target before running the test, and ran the tests with --no-rebuild.

The simplest fix would be to remove --no-rebuild from MTEST_ARGS, but it seems
better to explicitly build the test dependencies, so compiler warnings /
errors are visible as part of the build step.

Discussion: https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.com
Back: 16-, where meson was added
.cirrus.tasks.yml