diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-01 10:05:08 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-01 12:23:34 -0800 |
commit | ead8def989c291fa8f9e31760fd2c7a815595481 (patch) | |
tree | 33419f23daa5f88c690d75913a6f6bdaa1c4d7a1 /appveyor.cmd | |
parent | 5fd1b7ff82f17d55c8357fe76898a1bdc5953476 (diff) | |
download | wix-ead8def989c291fa8f9e31760fd2c7a815595481.tar.gz wix-ead8def989c291fa8f9e31760fd2c7a815595481.tar.bz2 wix-ead8def989c291fa8f9e31760fd2c7a815595481.zip |
Update to latest build infrastructure
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index e5cc4731..02db695b 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,16 +1,20 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | @set _P=%~dp0build\Release\publish | 3 | @set _P=%~dp0build\Release\publish |
4 | @set _C=Release | ||
5 | @if /i "%1"=="debug" set _C=Debug | ||
4 | 6 | ||
5 | dotnet test -c Release src\test\WixToolsetTest.CoreIntegration || exit /b | 7 | :: Restore |
6 | dotnet test -c Release src\test\WixToolsetTest.Core.Burn || exit /b | 8 | msbuild -p:Configuration=%_C% -t:Restore || exit /b |
7 | 9 | ||
8 | dotnet pack -c Release src\WixToolset.Core || exit /b | 10 | :: Build |
9 | dotnet pack -c Release src\WixToolset.Core.Burn || exit /b | 11 | msbuild -p:Configuration=%_C% || exit /b |
10 | dotnet pack -c Release src\WixToolset.Core.ExtensionCache || exit /b | ||
11 | dotnet pack -c Release src\WixToolset.Core.WindowsInstaller || exit /b | ||
12 | 12 | ||
13 | dotnet pack -c Release src\WixToolset.Core.TestPackage || exit /b | 13 | :: Test |
14 | dotnet test -c %_C% --no-build || exit /b | ||
15 | |||
16 | :: Pack | ||
17 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack || exit /b | ||
14 | 18 | ||
15 | @popd | 19 | @popd |
16 | @endlocal | 20 | @endlocal |