maximize-build-space icon indicating copy to clipboard operation
maximize-build-space copied to clipboard

Support for Windows and macOS runners

Open AnimMouse opened this issue 2 years ago • 2 comments

As composite-based actions now has support for conditionals, we can now run a separate script that runs on Windows and macOS to maximize available disk space.

AnimMouse avatar Dec 20 '21 11:12 AnimMouse

The action is quite specific on Linux and depends on the concrete VM types and available mounts -- it also abuses the fact, that the disks (amount and sizes) are not exactly as specified here. Also, the action uses Linux LVM to create virtual volumes on top of files -- something that is not directly translatable to Windows or MacOS, and something I do not know an equivalent for on these OSes.

That being said, I am open for pull requests to support that.

easimon avatar Dec 20 '21 13:12 easimon

For macOS, I have a step in my dotfiles repo which removes (or at least tries to) remove all preinstalled software. In my case it's more about having a clean slate rather than maximizing space, which is why I'm simply mving most things since rming would take considerably longer.

reitermarkus avatar Mar 10 '22 05:03 reitermarkus