Skip to content

Commit fcc183c

Browse files
committed
build: enable --error-on-warn for POSIX workflows
Treat warnings as errors for non-deps code on Linux and macOS workflows. Signed-off-by: Richard Lau <riclau@uk.ibm.com> PR-URL: #33357 Refs: #32685 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
1 parent 3aa5152 commit fcc183c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Environment Information
1919
run: npx envinfo
2020
- name: Build
21-
run: make build-ci -j2 V=1
21+
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
2222
- name: Test
2323
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"

.github/workflows/test-macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Environment Information
1919
run: npx envinfo
2020
- name: Build
21-
run: make build-ci -j8 V=1
21+
run: make build-ci -j8 V=1 CONFIG_FLAGS="--error-on-warn"
2222
- name: Test
2323
run: make run-ci -j8 V=1 TEST_CI_ARGS="-p dots"

0 commit comments

Comments
 (0)