Compile for Linux/macOS on Windows

Hi,

Let’s say I’m developing something on a Windows machine and I want my friend who’s on a Linux or macOS machine to test out my prototype.

Is it possible to compile Blender for Linux or macOS machines when I’m on a Windows machine?

best to just use the bots there, while linux is possible through wsl, mac is not and linux has a whole lot of cotcha’s regarding distributing builds.