From: Willy Tarreau Date: Wed, 23 Feb 2022 16:58:46 +0000 (+0100) Subject: CI: github: enable pool debugging by default X-Git-Tag: v2.6-dev2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0a6911bdef2dfd908cd1ad1bd074d27f95a252c;p=thirdparty%2Fhaproxy.git CI: github: enable pool debugging by default This enables DEBUG_MEMORY_POOLS and DEBUG_POOL_INTEGRITY so that by default the tests run under stricter checks, which are likely to catch more bugs. Note that these ones are permanently used in prod on haproxy.org. --- diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 75f3cdab00..148ea28669 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -33,7 +33,7 @@ jobs: ERR=1 \ TARGET=${{ matrix.TARGET }} \ CC=${{ matrix.CC }} \ - DEBUG=-DDEBUG_STRICT=1 \ + DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \ USE_OPENSSL=1 sudo make install - name: Show HAProxy version diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index ac516054bc..a9e86b6a22 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -107,7 +107,7 @@ jobs: ERR=1 \ TARGET=${{ matrix.TARGET }} \ CC=${{ matrix.CC }} \ - DEBUG=-DDEBUG_STRICT=1 \ + DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \ ${{ join(matrix.FLAGS, ' ') }} \ ADDLIB="-Wl,-rpath,/usr/local/lib/ -Wl,-rpath,$HOME/opt/lib/" sudo make install diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4d14d4817b..de9a00fd66 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -58,7 +58,7 @@ jobs: ERR=1 \ TARGET=${{ matrix.TARGET }} \ CC=${{ matrix.CC }} \ - DEBUG=-DDEBUG_STRICT=1 \ + DEBUG="-DDEBUG_STRICT -DDEBUG_MEMORY_POOLS -DDEBUG_POOL_INTEGRITY" \ ${{ join(matrix.FLAGS, ' ') }} - name: Show HAProxy version id: show-version