From 9d5c416037b2066b0b1450952914989dee73900a Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Fri, 20 Mar 2020 16:49:39 +0100 Subject: ci: rename script windows-symlink-build-dir to symlink-build-dir There will be a need to symlink the Linux build directory in the future as well, so let's make the script name generic. --- src/ci/scripts/symlink-build-dir.sh | 15 +++++++++++++++ src/ci/scripts/windows-symlink-build-dir.sh | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100755 src/ci/scripts/symlink-build-dir.sh delete mode 100755 src/ci/scripts/windows-symlink-build-dir.sh (limited to 'src/ci/scripts') diff --git a/src/ci/scripts/symlink-build-dir.sh b/src/ci/scripts/symlink-build-dir.sh new file mode 100755 index 00000000000..e57128c70f5 --- /dev/null +++ b/src/ci/scripts/symlink-build-dir.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# We've had issues with the default drive in use running out of space during a +# build, and it looks like the `C:` drive has more space than the default `D:` +# drive. We should probably confirm this with the azure pipelines team at some +# point, but this seems to fix our "disk space full" problems. + +set -euo pipefail +IFS=$'\n\t' + +source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" + +if isWindows; then + cmd //c "mkdir c:\\MORE_SPACE" + cmd //c "mklink /J build c:\\MORE_SPACE" +fi diff --git a/src/ci/scripts/windows-symlink-build-dir.sh b/src/ci/scripts/windows-symlink-build-dir.sh deleted file mode 100755 index e57128c70f5..00000000000 --- a/src/ci/scripts/windows-symlink-build-dir.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# We've had issues with the default drive in use running out of space during a -# build, and it looks like the `C:` drive has more space than the default `D:` -# drive. We should probably confirm this with the azure pipelines team at some -# point, but this seems to fix our "disk space full" problems. - -set -euo pipefail -IFS=$'\n\t' - -source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" - -if isWindows; then - cmd //c "mkdir c:\\MORE_SPACE" - cmd //c "mklink /J build c:\\MORE_SPACE" -fi -- cgit 1.4.1-3-g733a5