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.
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:
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 \