Add codecov.io coverage collection from AppVeyor

Also had to add new project to redirect CTest output, add
separate batch scripts for AppVeyor because it doesn't handle
multi-line batch scripts in yaml properly, and other helper
scripts.
This commit is contained in:
Martin Hořeňovský
2017-12-03 13:03:52 +01:00
parent dfa817ae73
commit 45a465713e
9 changed files with 176 additions and 12 deletions
+15
View File
@@ -0,0 +1,15 @@
@REM # In debug build, we want to
@REM # 1) Prebuild memcheck redirecter
@REM # 2) Regenerate single header include for examples
@REM # 3) Enable building examples
if "%CONFIGURATION%"=="Debug" (
echo "buildConfiguration.bat thinks this is a Debug build"
python scripts\generateSingleHeader.py
cmake -Hmisc -Bbuild-misc -A%PLATFORM%
cmake --build build-misc
cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% -DBUILD_EXAMPLES=ON -DMEMORYCHECK_COMMAND=build-misc\Debug\CoverageHelper.exe -DMEMORYCHECK_COMMAND_OPTIONS=--sep-- -DMEMORYCHECK_TYPE=Valgrind
)
if "%CONFIGURATION%"=="Release" (
echo "buildConfiguration.bat thinks this is a Release build"
cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain%
)