CI: github actions: -Wno-deprecated-declarations with OpenSSL 3.0.0

Disable the deprecated functions warning when building with openssl
3.0.0 alpha. This will need to be reverted once haproxy is ported to the
new API.
This commit is contained in:
William Lallemand 2021-06-07 15:27:57 +02:00
parent c3f28a38d2
commit 64d6c09e54
1 changed files with 2 additions and 0 deletions

2
.github/matrix.py vendored
View File

@ -116,6 +116,8 @@ 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":
flags.append('DEBUG_CFLAGS="-g -Wno-deprecated-declarations"')
if ssl != "stock":
flags.append("SSL_LIB=${HOME}/opt/lib")
flags.append("SSL_INC=${HOME}/opt/include")