-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathazure-pipelines-pr.yml
54 lines (51 loc) · 1.43 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
52
53
54
# 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
enableSourceBuild: false
helixRepo: dotnet/interactive-window
jobs:
- job: Windows
pool:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022.amd64.open
strategy:
matrix:
# PRs or external builds are not signed.
Debug:
_BuildConfig: Debug
_SignType: test
_DotNetPublishToBlobFeed: false
_BuildArgs: ''
Release:
_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