diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2020-07-06 15:12:27 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2020-07-23 11:29:47 +0200 |
| commit | cb76f821942053091706b7bb2c4dc416bb09bfb9 (patch) | |
| tree | b29f8d96d79edb8d83e18b7df72f9c3e3df508df /src/ci/scripts | |
| parent | 4825e12fc9c79954aa0fe18f5521efa6c19c7539 (diff) | |
| download | rust-cb76f821942053091706b7bb2c4dc416bb09bfb9.tar.gz rust-cb76f821942053091706b7bb2c4dc416bb09bfb9.zip | |
ci: avoid symlinking the build directory on self-hosted builders
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/symlink-build-dir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/scripts/symlink-build-dir.sh b/src/ci/scripts/symlink-build-dir.sh index 50178b9c33e..28d8aa3b6e7 100755 --- a/src/ci/scripts/symlink-build-dir.sh +++ b/src/ci/scripts/symlink-build-dir.sh @@ -12,7 +12,7 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" if isWindows && isAzurePipelines; then cmd //c "mkdir c:\\MORE_SPACE" cmd //c "mklink /J build c:\\MORE_SPACE" -elif isLinux && isGitHubActions; then +elif isLinux && isGitHubActions && ! isSelfHostedGitHubActions; then sudo mkdir -p /mnt/more-space sudo chown -R "$(whoami):" /mnt/more-space |
