[Openvpn-devel] Enable -Werror on macOS builds

Message ID 20221009140042.1560899-1-arne@rfc2549.org
State Accepted
Headers show
Series [Openvpn-devel] Enable -Werror on macOS builds | expand

Commit Message

Arne Schwabe Oct. 9, 2022, 3 a.m. UTC
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
---
 .github/workflows/build.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gert Doering Oct. 9, 2022, 3:33 a.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

Tested on "master + this patch" via my GitHub fork.  Builds all green!

  https://github.com/cron2/openvpn/actions/runs/3214397115

Your patch has been applied to the master branch.

commit 0ff633f750a57d0a4d48481be0bd915196a0bd32 (master)
Author: Arne Schwabe
Date:   Sun Oct 9 16:00:42 2022 +0200

     Enable -Werror on macOS builds

     Signed-off-by: Arne Schwabe <arne@rfc2549.org>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20221009140042.1560899-1-arne@rfc2549.org>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25369.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index f34f6a266..f7d2d3836 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -299,7 +299,7 @@  jobs:
       - name: autoconf
         run: autoreconf -fvi
       - name: configure
-        run: ./configure ${{matrix.configureflags}} ${{matrix.configuressllib}}
+        run: ./configure --enable-werror ${{matrix.configureflags}} ${{matrix.configuressllib}}
       - name: make all
         run: make -j4
       - name: make check