summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-03-24 16:47:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-03-24 16:47:20 +0800
commit333f2b795b0b8affe16f9a5e5147dfebe8a672aa (patch)
treeb5639359475a137916a0f48ed05fac0e09ba74f1
parent2bef4cc1476c7172fbdb72c2fb4f131e4f720526 (diff)
downloaddropbear-333f2b795b0b8affe16f9a5e5147dfebe8a672aa.tar.gz
Add build test with DEBUG_TRACE 5
-rw-r--r--.github/workflows/build.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d474866..0365e23 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,6 +11,9 @@ jobs:
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
strategy:
matrix:
+ # XXX keeps act happy, https://github.com/nektos/act/issues/996
+ name: []
+
# Rather than a boolean False we use eg
# runcheck: 'no'
# Otherwise GH expressions will make a None var
@@ -59,6 +62,10 @@ jobs:
apt: 'no'
ranlib: ranlib -no_warning_for_no_symbols
+ - name: DEBUG_TRACE
+ localoptions: |
+ #define DEBUG_TRACE 5
+
# # Fuzzers run standalone. A bit superfluous with cifuzz, but
# # good to run the whole corpus to keep it working.
# - name: fuzzing with address sanitizer
@@ -93,6 +100,7 @@ jobs:
PYTEST_ADDOPTS: ${{ matrix.pytest_addopts }}
# some pytests depend on special setup from this file. see authorized_keys below.
DBTEST_IN_ACTION: true
+ LOCALOPTIONS: ${{ matrix.localoptions }}
steps:
- name: deps
@@ -110,6 +118,11 @@ jobs:
if: ${{ matrix.nowritev }}
run: sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h
+ - name: localoptions
+ run: |
+ echo "$LOCALOPTIONS" > localoptions.h
+ cat localoptions.h
+
- name: make
run: make -j3