mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-19 06:14:11 +08:00
881b1da6a7
There is an internal requirement that we move to build agents that we don't run ourselves. This discharges us of that requirement! We're switching between the WinDevPool pool and the WinDevPoolOSS pool based on whether this code is being built in the open-source tenant or the internal/private one.
24 lines
780 B
YAML
24 lines
780 B
YAML
parameters:
|
|
configuration: 'Release'
|
|
platform: ''
|
|
additionalBuildArguments: '-m'
|
|
|
|
jobs:
|
|
- job: Build${{ parameters.platform }}${{ parameters.configuration }}
|
|
displayName: Build ${{ parameters.platform }} ${{ parameters.configuration }}
|
|
variables:
|
|
BuildConfiguration: ${{ parameters.configuration }}
|
|
BuildPlatform: ${{ parameters.platform }}
|
|
pool:
|
|
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: WinDevPoolOSS-L
|
|
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: WinDevPool-L
|
|
timeoutInMinutes: 120
|
|
strategy:
|
|
maxParallel: 10
|
|
steps:
|
|
- template: build-powertoys-steps.yml
|
|
parameters:
|
|
additionalBuildArguments: ${{ parameters.additionalBuildArguments }}
|