From: William Lallemand Date: Wed, 18 Nov 2026 09:53:37 +0000 (+0000) Subject: CI: github: test WolfSSL with and without debugging X-Git-Tag: v3.5-dev13~19 X-Git-Url: https://git.kaiwu.me/web/%22data:,/doc/static/%7B@url%7D?a=commitdiff_plain;h=31973e5521642870aa69cb01e9ee6e6cd6c79816;p=haproxy.git CI: github: test WolfSSL with and without debugging Add a debug matrix axis to run WolfSSL 5.7.0 with WOLFSSL_DEBUG=0 and WOLFSSL_DEBUG=1 in parallel. Include the debug setting in each job name and disable fail-fast so one variant cannot cancel the other. Keep AddressSanitizer enabled for both variants and leave the HAProxy build flags unchanged. --- diff --git a/.github/workflows/wolfssl.yml b/.github/workflows/wolfssl.yml index fe8d2e08d..3d4c5eb2c 100644 --- a/.github/workflows/wolfssl.yml +++ b/.github/workflows/wolfssl.yml @@ -10,10 +10,13 @@ permissions: jobs: test: - name: WolfSSL ${{ matrix.wolfssl }} + name: WolfSSL ${{ matrix.wolfssl }} (debug=${{ matrix.debug }}) strategy: + fail-fast: false matrix: wolfssl: [5.7.0] + # Cover both normal builds and WolfSSL's --enable-debug configuration. + debug: [0, 1] runs-on: ubuntu-latest if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }} steps: @@ -23,7 +26,7 @@ jobs: sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none sudo apt-get --no-install-recommends -y install socat gdb jose - name: Install WolfSSL - run: env WOLFSSL_VERSION=${{ matrix.wolfssl }} WOLFSSL_DEBUG=1 CFLAGS="-fsanitize=address -g" scripts/build-ssl.sh + run: env WOLFSSL_VERSION=${{ matrix.wolfssl }} WOLFSSL_DEBUG=${{ matrix.debug }} CFLAGS="-fsanitize=address -g" scripts/build-ssl.sh - name: Compile HAProxy run: | make -j$(nproc) ERR=1 CC=gcc TARGET=linux-glibc \