]> git.kaiwu.me - haproxy.git/commitdiff
CI: github: include WolfSSL version in job name
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 18 Nov 2026 09:36:15 +0000 (09:36 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 18 Nov 2026 09:55:17 +0000 (10:55 +0100)
Define the WolfSSL version once in the job matrix and use it in both the
job display name and the WOLFSSL_VERSION build setting.

This makes the tested version visible in GitHub Actions without
duplicating the version string. The workflow still runs a single job
using WolfSSL 5.7.0.

.github/workflows/wolfssl.yml

index 9e7ca3367a982fe413c6513c068938def6d4a5e9..fe8d2e08d1f44287c5be14363fd8dfe3a095fd82 100644 (file)
@@ -10,6 +10,10 @@ permissions:
 
 jobs:
   test:
+    name: WolfSSL ${{ matrix.wolfssl }}
+    strategy:
+      matrix:
+        wolfssl: [5.7.0]
     runs-on: ubuntu-latest
     if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
     steps:
@@ -19,7 +23,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=5.7.0 WOLFSSL_DEBUG=1 CFLAGS="-fsanitize=address -g" scripts/build-ssl.sh
+        run: env WOLFSSL_VERSION=${{ matrix.wolfssl }} WOLFSSL_DEBUG=1 CFLAGS="-fsanitize=address -g" scripts/build-ssl.sh
       - name: Compile HAProxy
         run: |
           make -j$(nproc) ERR=1 CC=gcc TARGET=linux-glibc \