aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/appveyor.cmd
blob: 85476b8e4fcc821b8cf58c6c47c52b17b9c3ef71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@setlocal
@pushd %~dp0
@set _C=Release
@if /i "%1"=="debug" set _C=Debug

nuget restore || exit /b

msbuild -t:Test -p:Configuration=%_C% src\test\DUtilUnitTest || exit /b

msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v140 || exit /b
msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v140 || exit /b

msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v141 || exit /b
msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v141 || exit /b
msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v141 || exit /b

msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v142 || exit /b
msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v142 || exit /b
msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 || exit /b

msbuild -p:Configuration=%_C% -t:PackNative src\dutil\dutil.vcxproj || exit /b

@popd
@endlocal