[openssh-commits] [openssh] 06/07: Ensure we can still build with C89.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Apr 26 17:06:06 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 29e194a752359ebf85bf7fce100f23a0477fc4de
Author: Darren Tucker <dtucker at dtucker.net>
Date: Mon Apr 26 14:49:59 2021 +1000
Ensure we can still build with C89.
---
.github/configs | 6 ++++++
.github/workflows/c-cpp.yml | 1 +
2 files changed, 7 insertions(+)
diff --git a/.github/configs b/.github/configs
index 44b607a3..f6d39ed6 100755
--- a/.github/configs
+++ b/.github/configs
@@ -22,6 +22,12 @@ LIBCRYPTOFLAGS=""
case "$config" in
default|sol64)
;;
+ c89)
+ CC="gcc"
+ CFLAGS="-Wall -std=c89 -pedantic -Werror=vla"
+ CONFIGFLAGS="--without-openssl --without-zlib"
+ TEST_TARGET=t-exec
+ ;;
kitchensink)
CONFIGFLAGS="--with-kerberos5 --with-libedit --with-pam"
CONFIGFLAGS="${CONFIGFLAGS} --with-security-key-builtin --with-selinux"
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index c0a0ac81..0dab607e 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -23,6 +23,7 @@ jobs:
- { os: ubuntu-20.04, configs: valgrind-3 }
- { os: ubuntu-20.04, configs: valgrind-4 }
- { os: ubuntu-20.04, configs: valgrind-unit }
+ - { os: ubuntu-20.04, configs: c89 }
- { os: ubuntu-20.04, configs: pam }
- { os: ubuntu-20.04, configs: kitchensink }
- { os: ubuntu-20.04, configs: hardenedmalloc }
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list