Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | do | ||||
cat "${log}" | cat "${log}" | ||||
done | done | ||||
} | } | ||||
CI_SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | CI_SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||||
setup | setup | ||||
case "$ABC_BUILD_NAME" in | case "$ABC_BUILD_NAME" in | ||||
build-make-check) | |||||
# Build and run unit tests. | |||||
"${CI_SCRIPTS_DIR}"/build.sh | |||||
make -j "${THREADS}" check | |||||
;; | |||||
build-asan) | build-asan) | ||||
# Build with the address sanitizer, then run unit tests and functional tests. | # Build with the address sanitizer, then run unit tests and functional tests. | ||||
CONFIGURE_FLAGS="--enable-debug --with-sanitizers=address --disable-ccache" "${CI_SCRIPTS_DIR}"/build.sh | CONFIGURE_FLAGS="--enable-debug --with-sanitizers=address --disable-ccache" "${CI_SCRIPTS_DIR}"/build.sh | ||||
make -j "${THREADS}" check | make -j "${THREADS}" check | ||||
./test/functional/test_runner.py -J=junit_results_asan.xml ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py -J=junit_results_asan.xml ${TEST_RUNNER_FLAGS} | ||||
;; | ;; | ||||
build-ubsan) | build-ubsan) | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |