]> git.ipfire.org Git - thirdparty/git.git/commit
ci: wire up Meson builds
authorPatrick Steinhardt <ps@pks.im>
Fri, 13 Dec 2024 10:41:23 +0000 (11:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Dec 2024 14:48:47 +0000 (06:48 -0800)
commiteab5dbab92fa60298aa4a1952fcbc6cae824d939
treed16c18dd63a433d5b8dcf378ed617331d8cf44df
parent9faf3963b6b567421ab29d263e00f0e6e59a39f5
ci: wire up Meson builds

Wire up CI builds for both GitLab and GitHub that use the Meson build
system.

While the setup is mostly trivial, one gotcha is the test output
directory used to be in "t/", but now it is contained in the build
directory. To unify the logic across Makefile- and Meson-based builds we
explicitly set up the `TEST_OUTPUT_DIRECTORY` variable so that it is the
same for both build systems.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml
.gitlab-ci.yml
ci/install-dependencies.sh
ci/lib.sh
ci/print-test-failures.sh
ci/run-build-and-tests.sh