changeset 1905:77e5c8f778d3

Add build test with DEBUG_TRACE 5
author Matt Johnston <matt@ucc.asn.au>
date Thu, 24 Mar 2022 16:47:20 +0800
parents be236878efcf
children 46f68ace1c3c
files .github/workflows/build.yml
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Thu Mar 24 14:44:13 2022 +0800
+++ b/.github/workflows/build.yml	Thu Mar 24 16:47:20 2022 +0800
@@ -11,6 +11,9 @@
     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 @@
             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 @@
       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 @@
         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