diff options
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index edd0a534..17900d31 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,17 +1,22 @@ | |||
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 | :: Restore |
7 | msbuild -p:Configuration=%_C% -t:Restore || exit /b | ||
5 | 8 | ||
6 | msbuild -p:Configuration=Release -t:Restore || exit /b | 9 | ::msbuild -p:Configuration=%_C% -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b |
10 | ::msbuild -p:Configuration=%_C% -p:Platform=x64 src\ca\complusca.vcxproj || exit /b | ||
7 | 11 | ||
8 | msbuild -p:Configuration=Release -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b | 12 | :: Build |
9 | msbuild -p:Configuration=Release -p:Platform=x64 src\ca\complusca.vcxproj || exit /b | 13 | msbuild -p:Configuration=%_C% src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b |
10 | 14 | ||
11 | msbuild -p:Configuration=Release src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b | 15 | :: Test |
12 | dotnet test -c Release --no-build src\test\WixToolsetTest.ComPlus || exit /b | 16 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.ComPlus || exit /b |
13 | 17 | ||
14 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b | 18 | :: Pack |
19 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b | ||
15 | 20 | ||
16 | @popd | 21 | @popd |
17 | @endlocal \ No newline at end of file | 22 | @endlocal \ No newline at end of file |