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
It would certainly be an improvement if Sigil supported Mono, I haven't tackled it due to lack of time but if you want to take a whack by all means do so.
I've set up a mono build on AppVeyor based off my branch so any progress is visible.
This is mono on windows but for now the failures look similar to my local osx build. Can expand to Linux builds once some progress is made generally against the mono runtime.
Is there any interest in making Sigil work on Mono?
I've messed around with it a bit here https://github.com/csainty/Sigil/tree/mono
With some tidy up it is possible to get it building, but there are a number of failing tests.
Some are easy to fix - like this block https://github.com/kevin-montrose/Sigil/blob/master/SigilTests/Add.cs#L73
It seems the Mono Reflection.Emit does some validation, so your this test throws when you attempt to construct an invalid delegate. That section is easily skipped in a Mono build.
Others are more difficult to work out - https://github.com/kevin-montrose/Sigil/blob/master/SigilTests/Add.cs#L54
Mono doesn't seem happy storing the result here back to the &int.
The Add.Overflow test cases are also problematic, I believe because doubles have been used. - https://github.com/kevin-montrose/Sigil/blob/master/SigilTests/Add.cs#L292
There are of course plenty more, I won't try list them all.
Is this a line of investigation worth pursing, or should I just avoid Sigil for xplat?
The text was updated successfully, but these errors were encountered: