Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Add -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmulder committed Jul 20, 2024
1 parent 9e503de commit d68f2a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
matrix:
agent: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.agent }}
env:
CFLAGS: '-Werror'
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y libcurl4-openssl-dev libjson-c-dev
Expand All @@ -18,6 +20,8 @@ jobs:
matrix:
agent: [macos-12, macos-14]
runs-on: ${{ matrix.agent }}
env:
CFLAGS: '-Werror'
steps:
- uses: actions/checkout@v3
- run: brew install json-c # curl comes preinstalled
Expand Down Expand Up @@ -47,6 +51,7 @@ jobs:
runs-on: debian12-agent
env:
CC: '${{ matrix.cc }}'
CFLAGS: '-Werror'
steps:
- uses: actions/checkout@v3
- run: make
Expand Down

0 comments on commit d68f2a5

Please sign in to comment.