Mercurial > dropbear
changeset 1926:e356093a6812
Add c89 build test
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 30 Mar 2022 14:29:18 +0800 |
parents | 7ac3b6c380b1 |
children | dc615fdb7c06 |
files | .github/workflows/build.yml |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/build.yml Wed Mar 30 14:28:59 2022 +0800 +++ b/.github/workflows/build.yml Wed Mar 30 14:29:18 2022 +0800 @@ -44,6 +44,12 @@ - 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 @@ apt: 'no' ranlib: ranlib -no_warning_for_no_symbols + # Check that debug code doesn't bitrot - name: DEBUG_TRACE localoptions: | #define DEBUG_TRACE 5