mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
CI: add installer (#5698)
This commit is contained in:
@@ -16,7 +16,7 @@ steps:
|
|||||||
displayName: Ensure VSTest Platform
|
displayName: Ensure VSTest Platform
|
||||||
|
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: Restore NuGet packages
|
displayName: Restore NuGet packages for PowerToys.sln
|
||||||
inputs:
|
inputs:
|
||||||
command: restore
|
command: restore
|
||||||
feedsToUse: config
|
feedsToUse: config
|
||||||
@@ -25,7 +25,7 @@ steps:
|
|||||||
restoreDirectory: '$(Build.SourcesDirectory)\packages'
|
restoreDirectory: '$(Build.SourcesDirectory)\packages'
|
||||||
|
|
||||||
- task: VSBuild@1
|
- task: VSBuild@1
|
||||||
displayName: 'Build solution **\PowerToys.sln'
|
displayName: 'Build PowerToys.sln'
|
||||||
inputs:
|
inputs:
|
||||||
solution: '**\PowerToys.sln'
|
solution: '**\PowerToys.sln'
|
||||||
vsVersion: 16.0
|
vsVersion: 16.0
|
||||||
@@ -34,6 +34,45 @@ steps:
|
|||||||
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
||||||
maximumCpuCount: true
|
maximumCpuCount: true
|
||||||
|
|
||||||
|
- task: NuGetCommand@2
|
||||||
|
displayName: Restore NuGet packages for PowerToysSetup.sln
|
||||||
|
inputs:
|
||||||
|
command: restore
|
||||||
|
feedsToUse: config
|
||||||
|
configPath: NuGet.config
|
||||||
|
restoreSolution: installer\PowerToysSetup.sln
|
||||||
|
restoreDirectory: '$(Build.SourcesDirectory)\installer\packages'
|
||||||
|
|
||||||
|
- task: VSBuild@1
|
||||||
|
displayName: 'Build PowerToysSetup.sln'
|
||||||
|
inputs:
|
||||||
|
solution: '**\installer\PowerToysSetup.sln'
|
||||||
|
vsVersion: 16.0
|
||||||
|
platform: '$(BuildPlatform)'
|
||||||
|
configuration: '$(BuildConfiguration)'
|
||||||
|
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
||||||
|
maximumCpuCount: true
|
||||||
|
|
||||||
|
- task: NuGetCommand@2
|
||||||
|
displayName: Restore NuGet packages for PowerToysBootstrapper.sln
|
||||||
|
inputs:
|
||||||
|
command: restore
|
||||||
|
feedsToUse: config
|
||||||
|
configPath: NuGet.config
|
||||||
|
restoreSolution: installer\PowerToysBootstrapper\PowerToysBootstrapper.sln
|
||||||
|
restoreDirectory: '$(Build.SourcesDirectory)\installer\PowerToysBootstrapper\packages'
|
||||||
|
|
||||||
|
- task: VSBuild@1
|
||||||
|
displayName: 'Build PowerToysBootstrapper.sln'
|
||||||
|
inputs:
|
||||||
|
solution: '**\installer\PowerToysBootstrapper\PowerToysBootstrapper.sln'
|
||||||
|
vsVersion: 16.0
|
||||||
|
platform: '$(BuildPlatform)'
|
||||||
|
configuration: '$(BuildConfiguration)'
|
||||||
|
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
||||||
|
maximumCpuCount: true
|
||||||
|
|
||||||
|
|
||||||
# directly not doing WinAppDriver testing
|
# directly not doing WinAppDriver testing
|
||||||
- task: VSTest@2
|
- task: VSTest@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user