]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CI: Fix the coverity builds
authorTim Duesterhus <tim@bastelstu.be>
Thu, 28 Jan 2021 17:58:53 +0000 (18:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2021 19:40:14 +0000 (20:40 +0100)
commit66d28e7045459c63e9f5988277926ba74d64697e
treecb0729050394e6a1a623d7b25dd0f2941f912925
parenta81bb7197eb538628274bffe3b09e87e564aeb89
CI: Fix the coverity builds

In an attempt to fix the use of DEBUG_STRICT commit
7f0f4786d1927f1450392e871480e3122796024e unfortunately broke the Coverity
builds completely.

It turns out that Coverity does not properly handle quoting within
`COVERITY_SCAN_BUILD_COMMAND`, instead breaking up single arguments at
whitespace, thus passing `-DDEBUG_USE_ABORT=1` to `make` as-is.

Fix this issue by hijacking the Makefile within the Coverity workflow. We
simply replace the default value of the `DEBUG` option with whatever values we
need. The build command now only includes the TARGET and USE_* flags, each of
which works without any spaces.
.github/workflows/coverity.yml