-
Notifications
You must be signed in to change notification settings - Fork 37
/
azure-pipelines-pr.yml
51 lines (49 loc) · 1.32 KB
/
azure-pipelines-pr.yml
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
# Branches that trigger builds on PR
pr:
branches:
include:
- main
- release/*
paths:
exclude:
- README.md
- docs/*
variables:
- template: /eng/common/templates/variables/pool-providers.yml
- name: _PublishUsingPipelines
value: true
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
enableMicrobuild: true
enablePublishBuildArtifacts: true
enablePublishTestResults: true
enablePublishBuildAssets: true
enablePublishUsingPipelines: $(_PublishUsingPipelines)
enableTelemetry: true
helixRepo: dotnet/symreader
jobs:
- job: Windows
pool:
vmImage: 'windows-latest'
strategy:
matrix:
Debug:
_BuildConfig: Debug
_SignType: test
_DotNetPublishToBlobFeed: false
_BuildArgs: ''
Release:
# PRs or external builds are not signed.
_BuildConfig: Release
_SignType: test
_DotNetPublishToBlobFeed: false
_BuildArgs: ''
steps:
- checkout: self
clean: true
- script: eng\common\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_BuildArgs)
displayName: Build and Test