Skip to content

Commit 4e66b5a

Browse files
committed
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 <[email protected]>
1 parent 786a3e4 commit 4e66b5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/run-build-and-minimal-fuzzers.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
. ${0%/*}/lib.sh
77

88
group "Build fuzzers" make \
9+
NO_CURL=NoThanks \
910
CC=clang \
1011
CXX=clang++ \
1112
CFLAGS="-fsanitize=fuzzer-no-link,address" \

0 commit comments

Comments
 (0)