Add build option ENABLE_ASSERTS and use it for CI

To finally have DMD's own assertions properly CI-tested. Assertions have
so far only been enabled for CircleCI (reduced testsuite on Linux x64)
and one Azure job (Win64 debug).
This commit is contained in:
Martin Kinkelin 2020-08-06 21:29:37 +02:00
parent ebca098f78
commit 07ec5cdbb1
7 changed files with 20 additions and 9 deletions

View file

@ -79,7 +79,7 @@ fi
DMD_BIN_PATH="$DMD_DIR/generated/windows/release/${MODEL}/dmd"
cd "${DMD_DIR}/src"
"${DM_MAKE}" -f "${MAKE_FILE}" reldmd DMD="$DMD_BIN_PATH"
"${DM_MAKE}" -f "${MAKE_FILE}" reldmd-asserts DMD="$DMD_BIN_PATH"
################################################################################
# WORKAROUND: Build zlib separately with DigitalMars make