File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,8 @@ jobs:
279
279
280
280
- name : Check dev drive space
281
281
working-directory : ${{ env.ZED_WORKSPACE }}
282
- run : ./script/exit-ci-if-dev-drive-is-full.ps1 55
282
+ # `setup-dev-driver.ps1` creates a 100GB drive, with CI taking up ~45GB of the drive.
283
+ run : ./script/exit-ci-if-dev-drive-is-full.ps1 95
283
284
284
285
# Since the Windows runners are stateful, so we need to remove the config file to prevent potential bug.
285
286
- name : Clean CI config file
Original file line number Diff line number Diff line change 3
3
# The current version of the Windows runner is 10.0.20348 which does not support DevDrive option.
4
4
# Ref: https://learn.microsoft.com/en-us/windows/dev-drive/
5
5
6
- # Currently, total CI requires almost 45GB of space, here we are creating a 60GB drive.
7
- $Volume = New-VHD - Path C:/ zed_dev_drive.vhdx - SizeBytes 60 GB |
6
+ # Currently, total CI requires almost 45GB of space, here we are creating a 100GB drive.
7
+ $Volume = New-VHD - Path C:/ zed_dev_drive.vhdx - SizeBytes 100 GB |
8
8
Mount-VHD - Passthru |
9
9
Initialize-Disk - Passthru |
10
10
New-Partition - AssignDriveLetter - UseMaximumSize |
@@ -15,7 +15,7 @@ $Drive = "$($Volume.DriveLetter):"
15
15
# Show some debug information
16
16
Write-Output $Volume
17
17
Write-Output " Using Dev Drive at $Drive "
18
-
18
+
19
19
# Move Cargo to the dev drive
20
20
New-Item - Path " $ ( $Drive ) /.cargo/bin" - ItemType Directory - Force
21
21
Copy-Item - Path " C:/Users/runneradmin/.cargo/*" - Destination " $ ( $Drive ) /.cargo/" - Recurse - Force
You can’t perform that action at this time.
0 commit comments