Using Linux And Wine To Build Unity Games For Windows And OS X?

I've seen a number of discussions about getting Unity to work with Wine, all with limited success but I haven't seen anything specific to my needs. I want to use Unity's command-line options to make builds for my project under Linux. I don't need to run the Unity UI. The reason is our other projects are under continuous integration on a Linux server and I want to have our Unity/Asset Server project under continuous build as well without standing up another server. Using Wine 1.2 on Ubuntu 9.10 I was able to easily install and license Unity but when I try to check the project out from asset server I get a lot of errors:

% wine "C:\Program Files\Unity\Editor\Unity.exe" -force-opengl -nographics -batchmode -quit -projectPath ProjectPath -assetServerUpdate AssetServerIP Project Username Password

fixme:mountmgr:harddisk_ioctl unsupported ioctl 2d1400 fixme:win:DisableProcessWindowsGhosting : stub err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded fixme:mountmgr:harddisk_ioctl unsupported ioctl 2d1400 fixme:console:AttachConsole stub ffffffff

Has anyone successfully used the command line options via Wine on Linux to checkout and build a Unity project from Asset Server?

We don't test Unity against Wine, so this is defenitely going to be an uphill battle. It looks like Wine doesn't support some windows calls that we make. A less-friction way would be to either use something like subversion for versioning, or to run your CI server on osx.

I know this is old, but for documentation:

Yes, it is possible, check out this page for the isntallation scripts:
https://github.com/Unity3D-Wine-Support/Unity3D-on-Wine

and the Unity Wiki for detailed instructions:
http://wiki.unity3d.com/index.php/Running_Unity_on_Linux_through_Wine