diff options
Diffstat (limited to 'src/libs/dutil/appveyor.cmd')
-rw-r--r-- | src/libs/dutil/appveyor.cmd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libs/dutil/appveyor.cmd b/src/libs/dutil/appveyor.cmd new file mode 100644 index 00000000..85476b8e --- /dev/null +++ b/src/libs/dutil/appveyor.cmd | |||
@@ -0,0 +1,24 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | @set _C=Release | ||
4 | @if /i "%1"=="debug" set _C=Debug | ||
5 | |||
6 | nuget restore || exit /b | ||
7 | |||
8 | msbuild -t:Test -p:Configuration=%_C% src\test\DUtilUnitTest || exit /b | ||
9 | |||
10 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v140 || exit /b | ||
11 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v140 || exit /b | ||
12 | |||
13 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v141 || exit /b | ||
14 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v141 || exit /b | ||
15 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v141 || exit /b | ||
16 | |||
17 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v142 || exit /b | ||
18 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v142 || exit /b | ||
19 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 || exit /b | ||
20 | |||
21 | msbuild -p:Configuration=%_C% -t:PackNative src\dutil\dutil.vcxproj || exit /b | ||
22 | |||
23 | @popd | ||
24 | @endlocal \ No newline at end of file | ||