Skip to content

Commit e23d4bc

Browse files
committed
Be strict.
1 parent 9ec27a4 commit e23d4bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/c-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
sudo apt install -U --no-install-recommends libcriterion-dev
1919
echo MAKEFLAGS=-j4 >> "$GITHUB_ENV"
2020
- name: Test
21-
run: make test
21+
run: make test XCFLAGS='-Werror'
2222
- name: Test -O3
23-
run: make clean && make test XCFLAGS='-O3 -g0'
23+
run: make clean && make test XCFLAGS='-Werror -O3 -g0'
2424

2525
build-macos:
2626
if: ${{ ! startsWith(github.event.head_commit.message, 'WIP') }}
@@ -34,6 +34,6 @@ jobs:
3434
echo DYLD_LIBRARY_PATH=. >> "$GITHUB_ENV"
3535
echo MAKEFLAGS=-j3 >> "$GITHUB_ENV"
3636
- name: Test
37-
run: make test
37+
run: make test XCFLAGS='-Werror'
3838
- name: Test -O3
39-
run: make clean && make test XCFLAGS='-O3 -g0'
39+
run: make clean && make test XCFLAGS='-Werror -O3 -g0'

0 commit comments

Comments
 (0)