]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
GHA: enable -Werror for mbedTLS v3 and AWS LC builds
authorFrank Lichtenheld <frank@lichtenheld.com>
Mon, 4 Aug 2025 13:34:07 +0000 (15:34 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 4 Aug 2025 13:36:27 +0000 (15:36 +0200)
Because we can and so we should.

Change-Id: I9159e2e354170ad6dbed5a6ce620f57fa8ab128e
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Yuriy Darnobyt <yura.uddr@gmail.com>
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 <gert@greenie.muc.de>
.github/workflows/build.yaml

index bd5895b0ce949a6d173b1861f4be17709fe2c048..a499e1c7ce9f56fc152f78d927c9b0e9fb8bfdc7 100644 (file)
@@ -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