forked from dotnet/winforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
62 lines (57 loc) · 2.02 KB
/
azure-pipelines.yml
File metadata and controls
62 lines (57 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
trigger:
batch: true
branches:
include:
- main
- release/*
pr: none
variables:
- name: _PublishUsingPipelines
value: false
- name: EnableLoc
value: ${{ contains(variables['Build.SourceBranch'], 'main') }}
- name: enableSourceIndex
value: ${{ contains(variables['Build.SourceBranch'], 'main') }}
- template: /eng/common/templates-official/variables/pool-providers.yml@self
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
sdl:
createAdoIssuesForJustificationsForDisablement: false
sourceAnalysisPool:
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022
os: windows
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates-official/jobs/jobs.yml@self
parameters:
enablePublishBuildArtifacts: true
enablePublishBuildAssets: false
enablePublishTestResults: false
publishAssetsImmediately: true
isAssetlessBuild: true
enableTelemetry: true
- ${{ if eq(variables.enableSourceIndex, 'true') }}:
- template: /eng/common/templates-official/job/source-index-stage1.yml@self
parameters:
sourceIndexBuildCommand: eng\CIBuild.cmd -restore -build -configuration Release /p:Platform=x64 /p:TargetArchitecture=x64 /bl:msbuild.binlog
binlogPath: msbuild.binlog
pool:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals windows.vs2022preview.amd64
- ${{ if eq(variables['EnableLoc'], 'true') }}:
- template: /eng/common/templates-official/job/onelocbuild.yml@self
parameters:
MirrorRepo: winforms
UseCheckedInLocProjectJson: true
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-WINFORMS'