mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-06 14:19:45 +00:00
## Summary of the Pull Request Prevents the Fuzz pipeline from failing by refactoring the nuget restore pipeline steps. ## References Broken in #12778. ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
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: WinDevPoolOSS-L
|
|
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: WinDevPool-L
|
|
demands: ImageOverride -equals WinDevVS16-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'
|
|
vsVersion: 16.0
|
|
platform: '$(BuildPlatform)'
|
|
configuration: '$(BuildConfiguration)'
|
|
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
|
clean: true
|
|
maximumCpuCount: true
|