From 6737d304a6e4fdb188a2f42a4001147e1944e4d6 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 1 Oct 2021 14:18:05 +0300 Subject: [PATCH] mdbx-ci: MDBX_FORCE_ASSERTION=1 for CI-build. --- .cirrus.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c7123e5e..e0b3dc22 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,4 +3,4 @@ freebsd_instance: task: install_script: pkg install -y gmake bash git - script: git fetch --tags --force && gmake check + script: git fetch --tags --force && gmake MDBX_BUILD_OPTIONS="-DNDEBUG=1 -DMDBX_FORCE_ASSERTIONS=1" check diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edd88ca5..0dbc6338 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,5 +33,5 @@ jobs: - name: fetch tags run: git fetch --unshallow --tags --prune --force - name: make check - run: make --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make --keep-going check + run: make MDBX_BUILD_OPTIONS="-DNDEBUG=1 -DMDBX_FORCE_ASSERTIONS=1" --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make MDBX_BUILD_OPTIONS="-DNDEBUG=1 -DMDBX_FORCE_ASSERTIONS=1" --keep-going check shell: bash