From 9e78859fb35819364b75f7de4f6cf8aa877f985d Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 7 Jul 2025 19:38:18 +0200 Subject: [PATCH] CI: github: skip a ssl library version when latest is already in the list Skip the job for "latest" libssl version, when this version is the same as a one already in the list. This avoid having 2 jobs for OpenSSL 3.5.1 since no new dev version are available for now and 3.5.1 is already in the list. --- .github/matrix.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/matrix.py b/.github/matrix.py index 9b8c2d7d7..8ef046392 100755 --- a/.github/matrix.py +++ b/.github/matrix.py @@ -233,6 +233,7 @@ def main(ref_name): for ssl in ssl_versions: flags = ["USE_OPENSSL=1"] + skipdup=0 if "WOLFSSL" in ssl: flags.append("USE_OPENSSL_WOLFSSL=1") if "AWS_LC" in ssl: @@ -242,8 +243,14 @@ def main(ref_name): flags.append("SSL_INC=${HOME}/opt/include") if "LIBRESSL" in ssl and "latest" in ssl: ssl = determine_latest_libressl(ssl) + skipdup=1 if "OPENSSL" in ssl and "latest" in ssl: ssl = determine_latest_openssl(ssl) + skipdup=1 + + # if "latest" equals a version already in the list + if ssl in ssl_versions and skipdup == 1: + continue openssl_supports_quic = False try: -- 2.39.5