]> git.ipfire.org Git - thirdparty/git.git/commit
ci: don't compile whole project when testing docs with Meson
authorPatrick Steinhardt <ps@pks.im>
Thu, 11 Sep 2025 09:16:08 +0000 (11:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Sep 2025 16:57:25 +0000 (09:57 -0700)
commitff4ec8ded0504cbe4fb4705ad793d862acfc63fc
treeed8f62e537aa547f1c46bce5ca4c4ed31597a805
parentb64579dff989f36343bdbb3e1d6481ee4a3f0876
ci: don't compile whole project when testing docs with Meson

Our "documentation" CI jobs, unsurprisingly, performs a couple of tests
on our documentation. The job knows to not only test the documentation
generated by our Makefile, but also by Meson.

In the latter case with Meson we end up building the whole project,
including all of the binaries. This is of course quite excessive and a
waste of compute cycles, as we don't care about these binaries at all.

Fix this by using the new "docs" target that we introduced in the
preceding commit.

Reported-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/test-documentation.sh