You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As for your particular issue, I think currently, your build uses D drive only (12 GB) and don't use C drive. I suggest reconfiguring build to build on C drive if it is possible
Hello, thank you for your response.
This issue is not reproduced on MacOS and Linux because they use the single drive (/).
Moving your build to C drive is tricky (it is rare case when D drive doesn't have enough free space for repository but it looks like your submodules take ~10GB):
Replace actions/checkout with git clone <repourl> C:\Repo (actions/checkout can't clone repository to C drive)
set working directory property for all further steps
The workflow file uses a matrix of Ubuntu/macOS/Windows, so I would need to create two checkout tasks, one with actions/checkout for ubuntu/macOS and a manual one for Windows?
It also already uses working-directory: ${{ github.workspace }}/build, so I would need to create a separate step to introduce a new environment variable and then hardcode it for windows to C:\Repo and use it for ubuntu/macOS like the above?
Is there really no easier way to handle this Windows build? If I could override github.workspace, this might make the steps above redundant.
Hello, @grische , unfortunately github.workspace variable can’t be overridden.
Also, as far as I know there no easier way to use C drive without significant modification of pipeline
(D drive is default for builds and officially we don’t provide more than 14 GB of free space; moving repository to drive C is just possible workaround)
Define separate job for windows (outside of test matrix)
How do I reopen this, it doesn't work at all??!!!! I copied everything, and it constantly whines about an invalid directory, what the fuck? Why the fuck does D have so little space, why don't you transfer some from C? Is there actually a fully complete working example for this, why is it so fucking difficult to change a simple working directory? Why the fuck can't github.workspace be configured? I've been for 3 hours on this and it should've taken 5 minutes, what are you doing over there? Why hasn't this been fixed yet?
Reacted by Ryan, Trevor Herr, Pete Harlan, Ritchie Vink, Chris Pryer, Justin Szaday, Oliver Weiler, Mick Redlinger, Hugo Tunius, Philpax and 4 more
Reacted by Ryan, Jerome Haltom, tomvogel1982 and Raúl Cumplido
How do I reopen this, it doesn't work at all??!!!! I copied everything, and it constantly whines about an invalid directory, what the fuck? Why the fuck does D have so little space, why don't you transfer some from C? Is there actually a fully complete working example for this, why is it so fucking difficult to change a simple working directory? Why the fuck can't github.workspace be configured? I've been for 3 hours on this and it should've taken 5 minutes, what are you doing over there? Why hasn't this been fixed yet?
The invalid directory is caused by using a working-directory value when the directory does not exist yet; you need to make sure the step that performs the cloning does not set the destination directory as the working directory. Also, the cloning will not work correctly as written because it will not checkout the right branch.
Activity
maxim-lobanov commentedon Jul 31, 2020
Hello, could you please add the following step at the begin of your pipeline and share results?
grische commentedon Jul 31, 2020
@maxim-lobanov https://github.com/grische/blender/runs/933668150?check_suite_focus=true
maxim-lobanov commentedon Aug 1, 2020
Thank you for providing build logs.
So runner has
Ddrive is limited (mostly, intended for checkout step)As for your particular issue, I think currently, your build uses D drive only (12 GB) and don't use C drive. I suggest reconfiguring build to build on C drive if it is possible
grische commentedon Aug 1, 2020
I see. Interesting that the other environments (windows-2016, Ubuntu, macOS) do not fail.
@maxim-lobanov how would you change the above workflow file to use C instead of D?
dmitry-shibanov commentedon Aug 4, 2020
Hello, thank you for your response.
This issue is not reproduced on MacOS and Linux because they use the single drive (
/).Moving your build to C drive is tricky (it is rare case when D drive doesn't have enough free space for repository but it looks like your submodules take ~10GB):
git clone <repourl> C:\Repo(actions/checkout can't clone repository to C drive)working directoryproperty for all further stepsgrische commentedon Aug 4, 2020
@dmitry-shibanov How would change the above workflow file?
The workflow file uses a
matrixof Ubuntu/macOS/Windows, so I would need to create two checkout tasks, one with actions/checkout for ubuntu/macOS and a manual one for Windows?It also already uses
working-directory: ${{ github.workspace }}/build, so I would need to create a separate step to introduce a new environment variable and then hardcode it for windows toC:\Repoand use it for ubuntu/macOS like the above?Is there really no easier way to handle this Windows build? If I could override
github.workspace, this might make the steps above redundant.dmitry-shibanov commentedon Aug 5, 2020
Hello, @grische , unfortunately github.workspace variable can’t be overridden.
Also, as far as I know there no easier way to use C drive without significant modification of pipeline
(D drive is default for builds and officially we don’t provide more than 14 GB of free space; moving repository to drive C is just possible workaround)
git cloneand specify place on disk C:/dmitry-shibanov commentedon Aug 10, 2020
Hello, We close the issue. But feel free to reopen it, if you have any concerns.
ddobrev commentedon Feb 18, 2021
How do I reopen this, it doesn't work at all??!!!! I copied everything, and it constantly whines about an invalid directory, what the fuck? Why the fuck does D have so little space, why don't you transfer some from C? Is there actually a fully complete working example for this, why is it so fucking difficult to change a simple working directory? Why the fuck can't github.workspace be configured? I've been for 3 hours on this and it should've taken 5 minutes, what are you doing over there? Why hasn't this been fixed yet?
jdm commentedon Feb 25, 2021
The invalid directory is caused by using a
working-directoryvalue when the directory does not exist yet; you need to make sure the step that performs the cloning does not set the destination directory as the working directory. Also, the cloning will not work correctly as written because it will not checkout the right branch.Workaround Windows CI running out of disk space during tests
jfoclpf commentedon Nov 30, 2022
@ddobrev you have here a fully working example (in this case for NodeJS)
Workaround Windows CI running out of disk space during tests
Build under drive C