# HG changeset patch # User Matt Johnston # Date 1648111640 -28800 # Node ID 77e5c8f778d3c09dbf3ae97a785d71638442cb5c # Parent be236878efcfdfcfd46645aa44b13d142f6cc86c Add build test with DEBUG_TRACE 5 diff -r be236878efcf -r 77e5c8f778d3 .github/workflows/build.yml --- 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