Skip to content

Commit 86554ae

Browse files
author
Ori Levari
authored
remove build variables from yaml which now are causing early error in the build pipeline. Seems as if it is due to a change in azure pipelines behavior. Also add pull request validation and change filtering of paths to just exclude the Tools section (#194)
1 parent 3f871b1 commit 86554ae

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

azure-pipelines-samples.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
variables:
77

88
SamplesBin: SamplesBin
9-
system.collectionId: ee8504d9-65a6-4f6c-85ed-0ad4265128ee
109
system.debug: false
11-
system.definitionId: 612
12-
system.teamProject: WindowsAI
1310
WINDOWS_WINMD: C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0\Windows.winmd
1411

1512
strategy:
@@ -28,14 +25,23 @@ strategy:
2825
BuildPlatform: x86
2926
BuildConfiguration: Debug
3027

31-
# specific branch build
28+
# CI trigger
3229
trigger:
3330
branches:
3431
include:
3532
- master
3633
paths:
34+
exclude:
35+
- Tools
36+
37+
# PR validation trigger
38+
pr:
39+
branches:
3740
include:
38-
- Samples
41+
- master
42+
paths:
43+
exclude:
44+
- Tools
3945

4046
steps:
4147
- task: PowerShell@2

0 commit comments

Comments
 (0)