We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11aafa5 commit ba97ad3Copy full SHA for ba97ad3
src/ci/scripts/symlink-build-dir.sh
@@ -15,5 +15,13 @@ if isWindows && isAzurePipelines; then
15
elif isLinux && isGitHubActions; then
16
sudo mkdir -p /mnt/more-space
17
sudo chown -R "$(whoami):" /mnt/more-space
18
- ln -s /mnt/more-space obj
+
19
+ # Switch the whole workspace to the /mnt partition, which has more space.
20
+ # We don't just symlink the `obj` directory as doing that creates problems
21
+ # with the docker container.
22
+ current_dir="$(readlink -f "$(pwd)")"
23
+ cd /tmp
24
+ mv "${current_dir}" /mnt/more-space/workspace
25
+ ln -s /mnt/more-space/workspace "${current_dir}"
26
+ cd "${current_dir}"
27
fi
0 commit comments