From: Arne Schwabe Date: Wed, 25 Oct 2023 12:17:10 +0000 (+0200) Subject: Add --enable-werror to all platforms in Github Actions X-Git-Tag: v2.7_alpha1~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b088913e5854aba4e71f459844a1aa147d82b8a;p=thirdparty%2Fopenvpn.git Add --enable-werror to all platforms in Github Actions Change-Id: I8f06a1213fdca233671f8d5746216ae46e84233b Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld Message-Id: <20231025121710.1030736-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27293.html Signed-off-by: Gert Doering --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 06567e0f9..60d3da5e3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -186,7 +186,7 @@ jobs: - name: autoconf run: autoreconf -fvi - name: configure - run: CFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer -O2" CC=clang ./configure --with-crypto-library=${{matrix.ssllib}} + run: CFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer -O2" CC=clang ./configure --with-crypto-library=${{matrix.ssllib}} --enable-werror - name: make all run: make -j3 - name: make check @@ -355,7 +355,7 @@ jobs: - name: autoconf run: autoreconf -fvi - name: configure - run: ./configure --with-crypto-library=openssl ${{matrix.configureflags}} + run: ./configure --with-crypto-library=openssl ${{matrix.configureflags}} --enable-werror - name: make all run: make -j3 - name: make check