we do not need strict comparison here, 3.0.0 is enough.

thanks,
Ilya
From 779e30baa8385d4484441fdb7a1069933d30be4a Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Sun, 15 Aug 2021 12:55:08 +0500
Subject: [PATCH] CI: github actions: relax OpenSSL-3.0.0 version comparision

we better to check for 3.0.0 presense, than exact version
---
 .github/matrix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/matrix.py b/.github/matrix.py
index cd86cdd76..cca5b2e30 100755
--- a/.github/matrix.py
+++ b/.github/matrix.py
@@ -118,7 +118,7 @@ for CC in ["gcc", "clang"]:
         flags = ["USE_OPENSSL=1"]
         if ssl == "BORINGSSL=yes":
             flags.append("USE_QUIC=1")
-        if ssl == "OPENSSL_VERSION=3.0.0-alpha17":
+        if "OPENSSL_VERSION=3.0.0" in ssl:
             flags.append('DEBUG_CFLAGS="-g -Wno-deprecated-declarations"')
         if ssl != "stock":
             flags.append("SSL_LIB=${HOME}/opt/lib")
-- 
2.29.2.windows.2

Reply via email to