Skip to content

Commit 34e7400

Browse files
richardlaucodebytere
authored andcommittedMay 16, 2020
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 <[email protected]> PR-URL: #33357 Refs: #32685 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent 7d4db35 commit 34e7400

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)
Please sign in to comment.