Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
set -e | set -e | ||||
if [ -z "$ABC_BUILD_NAME" ]; then | if [ -z "$ABC_BUILD_NAME" ]; then | ||||
echo "Error: Environment variable ABC_BUILD_NAME must be set" | echo "Error: Environment variable ABC_BUILD_NAME must be set" | ||||
exit 1 | exit 1 | ||||
fi | fi | ||||
echo "Running build configuration '${ABC_BUILD_NAME}'..." | echo "Running build configuration '${ABC_BUILD_NAME}'..." | ||||
TOPLEVEL=`git rev-parse --show-toplevel` | TOPLEVEL=$(git rev-parse --show-toplevel) | ||||
cd "${TOPLEVEL}/contrib/teamcity" | cd "${TOPLEVEL}/contrib/teamcity" | ||||
case "$ABC_BUILD_NAME" in | case "$ABC_BUILD_NAME" in | ||||
build-asan) | build-asan) | ||||
export CONFIGURE_FLAGS="--enable-debug --with-sanitizers=address --disable-ccache" | export CONFIGURE_FLAGS="--enable-debug --with-sanitizers=address --disable-ccache" | ||||
./build.sh | ./build.sh | ||||
;; | ;; | ||||
Show All 20 Lines |