mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-29 09:00:46 -05:00
Using our own pools like this gives us a lot of freedom in the tooling that's installed, the OS versions it targets, and when we take on Visual Studio updates. As part of this effort, I've also stood up a "small" agent pool. At the time of this PR, that pool is using D2ads-v5 SKU VMs (2 vcore 8 GiB) versus the "large" agent pool's D8as-v5 (8 vcore 32 GiB). Smaller build tasks have been moved over to the small pool. Compilation's the hard part, so it gets to stay on the large pool.
35 lines
1011 B
YAML
35 lines
1011 B
YAML
parameters:
|
|
platform: ''
|
|
additionalBuildArguments: ''
|
|
|
|
jobs:
|
|
- job: Build${{ parameters.platform }}AuditMode
|
|
displayName: Static Analysis Build ${{ parameters.platform }}
|
|
variables:
|
|
BuildConfiguration: AuditMode
|
|
BuildPlatform: ${{ parameters.platform }}
|
|
pool:
|
|
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: SHINE-OSS-L
|
|
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: SHINE-INT-L
|
|
demands: ImageOverride -equals SHINE-VS17-Latest
|
|
|
|
steps:
|
|
- checkout: self
|
|
submodules: true
|
|
clean: true
|
|
fetchDepth: 1
|
|
|
|
- template: restore-nuget-steps.yml
|
|
|
|
- task: VSBuild@1
|
|
displayName: 'Build solution **\OpenConsole.sln'
|
|
inputs:
|
|
solution: '**\OpenConsole.sln'
|
|
platform: '$(BuildPlatform)'
|
|
configuration: '$(BuildConfiguration)'
|
|
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
|
clean: true
|
|
maximumCpuCount: true
|