mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
ci: switch linux-musl to use Meson
Switch over the "linux-musl" job to use Meson instead of Makefiles. This
is done due to multiple reasons:
- It simplifies our CI infrastructure a bit as we don't have to
manually specify a couple of build options anymore.
- It verifies that Meson detects and sets those build options
automatically.
- It makes it easier for us to wire up a new CI job using zlib-ng as
backend.
One platform compatibility that Meson cannot easily detect automatically
is the `GIT_TEST_UTF8_LOCALE` variable used in tests. Wire up a build
option for it, which we set via a new "MESONFLAGS" environment variable.
Note that we also drop the CC variable, which is set to "gcc". We
already default to GCC when CC is unset in "ci/lib.sh", so this is not
needed.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
b9d6f64393
commit
84bb5eeace
@@ -99,5 +99,7 @@ option('tests', type: 'boolean', value: true,
|
||||
description: 'Enable building tests. This requires Perl, but is separate from the "perl" option such that you can build tests without Perl features enabled.')
|
||||
option('test_output_directory', type: 'string',
|
||||
description: 'Path to the directory used to store test outputs')
|
||||
option('test_utf8_locale', type: 'string',
|
||||
description: 'Name of a UTF-8 locale used for testing.')
|
||||
option('fuzzers', type: 'boolean', value: false,
|
||||
description: 'Enable building fuzzers.')
|
||||
|
||||
Reference in New Issue
Block a user