compile Balena on windows and ubuntu

Hi,Community

I need help to compile etcher by myself, can I ask you
1:it is possible to compile windows exe at ubuntu linux env?I tried to compile both windows and linux version of etcher, but both failed.
2:can you guide me how to compile it on windows?did you scucceed?