diff options
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 4f18fbee..a35e10d5 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,15 +1,17 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | @set _C=Release | ||
4 | @if /i "%1"=="debug" set _C=Debug | ||
3 | 5 | ||
4 | nuget restore || exit /b | 6 | nuget restore || exit /b |
5 | 7 | ||
6 | msbuild -t:Test -p:Configuration=Release src\test\BurnUnitTest || exit /b | 8 | msbuild -t:Test -p:Configuration=%_C% src\test\BurnUnitTest || exit /b |
7 | 9 | ||
8 | msbuild -p:Configuration=Release;Platform=x86 || exit /b | 10 | msbuild -p:Configuration=%_C%;Platform=x86 || exit /b |
9 | msbuild -p:Configuration=Release;Platform=x64 || exit /b | 11 | msbuild -p:Configuration=%_C%;Platform=x64 || exit /b |
10 | msbuild -p:Configuration=Release;Platform=arm64 || exit /b | 12 | msbuild -p:Configuration=%_C%;Platform=arm64 || exit /b |
11 | 13 | ||
12 | msbuild -p:Configuration=Release -t:Pack src\stub\stub.vcxproj || exit /b | 14 | msbuild -p:Configuration=%_C% -t:PackNative src\stub\stub.vcxproj || exit /b |
13 | 15 | ||
14 | @popd | 16 | @popd |
15 | @endlocal \ No newline at end of file | 17 | @endlocal \ No newline at end of file |