azure-pipelines.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Universal Windows Platform
  2. # Build a Universal Windows Platform project using Visual Studio.
  3. # Add steps that test and distribute an app, save build artifacts, and more:
  4. # https://aka.ms/yaml
  5. trigger:
  6. - master
  7. pool:
  8. vmImage: 'windows-latest'
  9. variables:
  10. buildPlatform: 'x86'
  11. buildConfiguration: 'Release'
  12. appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'
  13. steps:
  14. - task: VSBuild@1
  15. inputs:
  16. platform: 'x86'
  17. solution: '.\BGTask\BGTask.sln'
  18. configuration: '$(buildConfiguration)'
  19. msbuildArgs: '/restore /p:Platform=x86 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:AppxPackageSigningEnabled=false /p:UapAppxPackageBuildMode=StoreUpload'
  20. - task: VSBuild@1
  21. inputs:
  22. platform: 'x86'
  23. solution: '.\OfficeInterop\OfficeInterop.sln'
  24. configuration: '$(buildConfiguration)'
  25. msbuildArgs: '/restore /p:Platform=x86 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:AppxPackageSigningEnabled=false /p:UapAppxPackageBuildMode=StoreUpload'
  26. - task: VSBuild@1
  27. inputs:
  28. platform: 'x86'
  29. solution: '.\ShareTarget\ShareTarget.sln'
  30. configuration: '$(buildConfiguration)'
  31. msbuildArgs: '/restore /p:Platform=x86 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:AppxPackageSigningEnabled=false /p:UapAppxPackageBuildMode=StoreUpload'
  32. - task: VSBuild@1
  33. inputs:
  34. platform: 'x86'
  35. solution: '.\WinRT\WinRT.sln'
  36. configuration: '$(buildConfiguration)'
  37. msbuildArgs: '/restore /p:Platform=x86 /p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:AppxPackageSigningEnabled=false /p:UapAppxPackageBuildMode=StoreUpload'