diff options
author | Matt Johnston <matt@ucc.asn.au> | 2022-03-30 14:29:18 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-03-30 14:29:18 +0800 |
commit | dd5c1cacb137d7434a9a1d665abeda16cded83b0 (patch) | |
tree | e5292ff72a5ace49079bad7b10d95984a7619206 | |
parent | 592ad09684a6cb9588d4ee4c1dc6f629a8d21ac8 (diff) | |
download | dropbear-dd5c1cacb137d7434a9a1d665abeda16cded83b0.tar.gz |
Add c89 build test
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 354d37d..89db61e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,12 @@ jobs: - name: linux clang cc: clang + # Some platforms only have old compilers, we try to keep + # compatibilty. For some reason -std=c89 doesn't enforce + # early declarations so we specify it anyway. + - name: c89 + extracflags: -std=c89 -Wdeclaration-after-statement + - name: macos 10.15 os: macos-10.15 cc: clang @@ -63,6 +69,7 @@ jobs: apt: 'no' ranlib: ranlib -no_warning_for_no_symbols + # Check that debug code doesn't bitrot - name: DEBUG_TRACE localoptions: | #define DEBUG_TRACE 5 |