Skip to contentSkip to conversation

Enable -Werror on macOS builds

PATCH In review Arne Schwabe 2 participants 2 messages Oct 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable -Werror on macOS builds

---
 .github/workflows/build.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.github/workflows/build.yaml +1 -1
index f34f6a266..f7d2d3836 100644
@@ -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
Signature · 1 line
2.37.0 (Apple Git-136)
Acked-by on v1 1/1
#1 lore raw

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 <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg25369.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering