From 5b088913e5854aba4e71f459844a1aa147d82b8a Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 25 Oct 2023 14:17:10 +0200 Subject: [PATCH] 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 --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3