From 45d84392eed8a1e6eae4f906ab382858ca23d740 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 1 Mar 2021 12:36:48 -0800 Subject: Update to latest build infrastructure --- appveyor.cmd | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'appveyor.cmd') diff --git a/appveyor.cmd b/appveyor.cmd index edd0a534..17900d31 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,17 +1,22 @@ @setlocal @pushd %~dp0 +@set _C=Release +@if /i "%1"=="debug" set _C=Debug -nuget restore || exit /b +:: Restore +msbuild -p:Configuration=%_C% -t:Restore || exit /b -msbuild -p:Configuration=Release -t:Restore || exit /b +::msbuild -p:Configuration=%_C% -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b +::msbuild -p:Configuration=%_C% -p:Platform=x64 src\ca\complusca.vcxproj || exit /b -msbuild -p:Configuration=Release -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b -msbuild -p:Configuration=Release -p:Platform=x64 src\ca\complusca.vcxproj || exit /b +:: Build +msbuild -p:Configuration=%_C% src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b -msbuild -p:Configuration=Release src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b -dotnet test -c Release --no-build src\test\WixToolsetTest.ComPlus || exit /b +:: Test +dotnet test -c %_C% --no-build src\test\WixToolsetTest.ComPlus || exit /b -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b +:: Pack +msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b @popd @endlocal \ No newline at end of file -- cgit v1.2.3-55-g6feb