Skip to content

Commit

Permalink
Enable -Werror in CI builds for Linux and macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv committed Dec 5, 2024
1 parent 5c50a67 commit bcf0331
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit bcf0331

Please sign in to comment.