]> git.ipfire.org Git - thirdparty/git.git/commit
fuzz: minimum fuzzers environment lacks libcURL
authorJunio C Hamano <gitster@pobox.com>
Sat, 22 Jun 2024 05:08:42 +0000 (22:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 Jun 2024 05:12:13 +0000 (22:12 -0700)
commit4e66b5a990236120b2bb34356a09b59e4738018e
treeb195c0aaffa67c6502ab9eb0bdc171f48d66e913
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8
fuzz: minimum fuzzers environment lacks libcURL

The "fuzz smoke test" job compiles various .o files to create
libgit.a and others, but the final build product of the fuzzer build
is *not* "git".  Since the job is not interested in building a
working "git", it does not define any build flags, and among the
notable ones that are missing is NO_CURL---even though the CI
environment that runs the job does not have libcURL development
package installed.

This obviously leads to a build failure.

Pass NO_CURL=NoThanks to "make" to make sure things will build
correctly, if we add any conditional compilation with "#ifdef
NO_CURL ... #endif" in the codebase.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/run-build-and-minimal-fuzzers.sh