summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-01-27 11:58:26 +1100
committerDarren Tucker <dtucker@dtucker.net>2021-01-27 11:58:26 +1100
commit1b83185593a90a73860a503d753a95ca6d726c00 (patch)
tree707923e317742208daec20e2c41b6e2a87457617
parentd1532d90074b212054d5fd965f833231b09982f5 (diff)
Run one test with -Werror to catch warnings.
-rwxr-xr-x.github/setup_ci.sh2
-rw-r--r--.github/workflows/c-cpp.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 593e8ef1..02f8feda 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -20,7 +20,7 @@ lsb_release -a
for TARGET in $TARGETS; do
case $TARGET in
- ""|--without-openssl|--without-zlib)
+ ""|--without-openssl|--without-zlib|--with-Werror)
# nothing to do
;;
"--with-kerberos5")
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 974404cb..121d43b2 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -15,7 +15,7 @@ jobs:
matrix:
configs:
- ""
- - "--with-kerberos5 --with-libedit --with-pam --with-security-key-builtin --with-selinux"
+ - "--with-kerberos5 --with-libedit --with-pam --with-security-key-builtin --with-selinux --with-Werror"
- "--with-ldflags=-lhardened_malloc"
steps: