From bcf033113981109c41b1326fe064adebfac67847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Thu, 5 Dec 2024 09:25:19 +0100 Subject: [PATCH] Enable -Werror in CI builds for Linux and macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Svensson --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3b5d5eb..2e015fa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,9 @@ jobs: sudo apt update -qq sudo apt install libcppunit-dev libbotan-2-dev p11-kit - name: Build + env: + CFLAGS: -Werror + CXXFLAGS: -Werror run: | ./autogen.sh ./configure --with-crypto-backend=${{ matrix.backend }} @@ -49,6 +52,9 @@ jobs: run: | brew install automake libtool cppunit botan@2 - name: Build + env: + CFLAGS: -Werror + CXXFLAGS: -Werror run: | ./autogen.sh ./configure --with-crypto-backend=${{ matrix.backend }} ${{ matrix.extra-options }}