Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
export LC_ALL=C.UTF-8 | export LC_ALL=C.UTF-8 | ||||
set -euxo pipefail | set -exo pipefail | ||||
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 | ||||
set -u | |||||
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) | ||||
export TOPLEVEL | export TOPLEVEL | ||||
setup() { | setup() { | ||||
export BUILD_DIR="${TOPLEVEL}/build" | export BUILD_DIR="${TOPLEVEL}/build" | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |