Closed onwhenrdy closed 5 years ago
@onwhenrdy I wonder why I don't see any Linux tests in the appveyour build?
Argh ... the tests are fine but now even on the "previous ubuntu" box the tests are not registered by appveyor. I will investigate why this is happening now on this box. Last week the suggestion from appveyor was to use the "previous version".
Test registration now works on the current Ubuntu box. ¯_(ツ)_/¯
Short rational:
"Previous ubuntu" image was choosen because of a bug in current image version that prevents the display of test results
After some tests the previous solution (https://github.com/roozbehid/dotnet-vcxproj) was discarded because of bugs in the package and unknown future compatibility
An additional linux nuspec is mandatory (artifact naming should be discussed)
The native component is compiled via cmake (minimal CMakeList that should follow future updates in src and include)
Test Project needed a conditional Target that dispatch on OS (All other possibilities including WHEN and EXEC dispatch did not work for either dotnet build or msbuild)
sed-hack is used to eleminate the native project from the solution and to allow the "normal" workflow of the project
Source code patch (MACRO) was necessary since not all versions of libc include strcpy_s (it is optional according to the specs)
Points to discuss: