summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2022-08-17 20:57:15 +0100
committerGitHub <noreply@github.com>2022-08-17 12:57:15 -0700
commitd65c6183c0d8b365aa182c3d9026ba85522531f2 (patch)
treeacffd9f5d57d56e88e3ba06d4e86aea1cfa460f7 /.github/workflows/macos.yml
parentcbc7e62f42bc0770fbd9da20ed39a5191778e2af (diff)
Move -Werror to CI (#2362)
* move -Werror to CI This allows people with a more up-to-date system than you to still compile your project, while still allowing you to block on every warning in your own development. * Fixes. * More fix. * more fix. * Disable werror for gcc. * Fix bash. * fix * fix yml Co-authored-by: Yong He <yonghe@outlook.com> Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index e9e7a7dbf..a10467f06 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -27,6 +27,9 @@ jobs:
CC=${{matrix.compiler}}
CONFIGURATION=${{matrix.configuration}}
ARCH=${{matrix.platform}}
+ CPPFLAGS=-Werror
+ CFLAGS=-Werror
+ CXXFLAGS=-Werror
source ./github_macos_build.sh
- name: Package
id: package