1
0
Fork 0

creating a clean build folder

This commit is contained in:
Christian Kühnel 2020-01-17 10:18:28 +01:00
parent 640a80b4c2
commit 1886dec556

View file

@ -17,7 +17,12 @@ set -eux
#folder where this script is stored.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export WORKSPACE=$BUILDKITE_BUILD_PATH
export WORKSPACE=${BUILDKITE_BUILD_PATH}
# create a clean build folder
BUILD_DIR=${BUILDKITE_BUILD_PATH}/build
rm -rf ${BUILD_DIR} || true
mkdir -p ${BUILD_DIR}
echo "--- CMake"
${DIR}/run_cmake.sh