From: Frank Lichtenheld Date: Mon, 4 Aug 2025 13:34:07 +0000 (+0200) Subject: GHA: enable -Werror for mbedTLS v3 and AWS LC builds X-Git-Tag: v2.7_beta1~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c667671653fbe0b781cab6eee3e7c90783ffd132;p=thirdparty%2Fopenvpn.git GHA: enable -Werror for mbedTLS v3 and AWS LC builds Because we can and so we should. Change-Id: I9159e2e354170ad6dbed5a6ce620f57fa8ab128e Signed-off-by: Frank Lichtenheld Acked-by: Yuriy Darnobyt Message-Id: <20250804133413.24729-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32505.html Signed-off-by: Gert Doering --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bd5895b0c..a499e1c7c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -425,7 +425,7 @@ jobs: - name: autoconf run: autoreconf -fvi - name: configure - run: ./configure --with-crypto-library=mbedtls + run: ./configure --with-crypto-library=mbedtls --enable-werror - name: make all run: make -j3 - name: configure checks @@ -489,7 +489,7 @@ jobs: OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \ OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \ LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \ - ./configure --with-crypto-library=openssl + ./configure --with-crypto-library=openssl --enable-werror - name: make all run: make -j3 - name: configure checks