Skip to content

Commit b9c3633

Browse files
committed
ci: don't move the build to C: on GitHub Actions
On Azure Pipeliones, the C: filesystem is huge with a lot of free space, while D: is small. By default builds happened in D:, so we added a script to symlink the big directories to C:, granting us more space. Filesystem Size Used Avail Use% C: 256G 143G 114G 56% D: 14G 2.0G 13G 15% On GitHub Actions instead C: is almost full, and we have a lot of free space on D:, where the build happens. Filesystem Size Used Avail Use% C: 128G 114G 15G 89% D: 56G 4.8G 52G 9% This commit stops creating the symlink on GitHub Actions, fixing the out of disk space errors we were seeing on some Windows builders.
1 parent 9beb8f5 commit b9c3633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/scripts/symlink-build-dir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ IFS=$'\n\t'
99

1010
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
1111

12-
if isWindows; then
12+
if isWindows && isAzurePipelines; then
1313
cmd //c "mkdir c:\\MORE_SPACE"
1414
cmd //c "mklink /J build c:\\MORE_SPACE"
1515
fi

0 commit comments

Comments
 (0)