update CI scripts

This commit is contained in:
BlackMATov
2020-02-19 06:12:36 +07:00
parent 5ffc25aec1
commit 88a0d59e18
14 changed files with 268 additions and 103 deletions

View File

@@ -0,0 +1,14 @@
@echo off
set BUILD_DIR=%~dp0%\..\build
mkdir %BUILD_DIR%\Release\x86 || goto :error
pushd %BUILD_DIR%\Release\x86 || goto :error
cmake ..\..\.. -A Win32 || goto :error
cmake --build . --config Release || goto :error
ctest --verbose || goto :error
popd || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%