mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-06 14:19:45 +00:00
C++20 goodies include: * 3-way comparison operator `<=>` and `operator==() = default` * designated initializers * constraints and concepts * abbreviated function templates (`void foo(auto bar)`) * pack-expansions in lambda init-captures * heterogeneous lookups in `unordered_set` / `unordered_map` * `consteval` / `constinit` * `starts_with` / `ends_with` for `string` / `string_view` * `midpoint`, `lerp` * `<bit>` * `<ranges>` * `<span>` * `<barrier>` * `<latch>` * `<semaphore>`
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
parameters:
|
|
configuration: 'Release'
|
|
branding: 'Dev'
|
|
platform: ''
|
|
additionalBuildArguments: ''
|
|
|
|
jobs:
|
|
- job: Build${{ parameters.platform }}${{ parameters.configuration }}${{ parameters.branding }}
|
|
displayName: Build ${{ parameters.platform }} ${{ parameters.configuration }} ${{ parameters.branding }}
|
|
variables:
|
|
BuildConfiguration: ${{ parameters.configuration }}
|
|
BuildPlatform: ${{ parameters.platform }}
|
|
WindowsTerminalBranding: ${{ parameters.branding }}
|
|
EnableRichCodeNavigation: true
|
|
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 WinDevVS17-latest
|
|
|
|
steps:
|
|
- template: build-console-steps.yml
|
|
parameters:
|
|
additionalBuildArguments: ${{ parameters.additionalBuildArguments }}
|
|
|
|
# It appears that the Component Governance build task that gets automatically injected stopped working
|
|
# when we renamed our main branch.
|
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
displayName: 'Component Detection'
|
|
condition: and(succeededOrFailed(), not(eq(variables['Build.Reason'], 'PullRequest')))
|