From f39e7a3e164d0736e45049e5726d0da2013da3c9 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 22 Apr 2021 06:31:03 -0700 Subject: Update to latest build infrastructure --- appveyor.cmd | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'appveyor.cmd') diff --git a/appveyor.cmd b/appveyor.cmd index 9b6bc112..85476b8e 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,22 +1,24 @@ @setlocal @pushd %~dp0 +@set _C=Release +@if /i "%1"=="debug" set _C=Debug nuget restore || exit /b -msbuild -t:Test -p:Configuration=Release src\test\DUtilUnitTest || exit /b +msbuild -t:Test -p:Configuration=%_C% src\test\DUtilUnitTest || exit /b -msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140 || exit /b -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140 || 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=Release;Platform=x86;PlatformToolset=v141 || exit /b -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v141 || exit /b -msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v141 || 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=Release;Platform=x86;PlatformToolset=v142 || exit /b -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v142 || exit /b -msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v142 || 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=Release -t:PackNativeNuget src\dutil\dutil.vcxproj || exit /b +msbuild -p:Configuration=%_C% -t:PackNative src\dutil\dutil.vcxproj || exit /b @popd @endlocal \ No newline at end of file -- cgit v1.2.3-55-g6feb