forked from unoplatform/Uno.Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci.yml
37 lines (33 loc) · 1.17 KB
/
.vsts-ci.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
trigger:
branches:
include:
- master
- feature/*
pr:
branches:
include:
- master
- feature/*
stages:
- stage: Determine_Changes
displayName: Determine Changes
jobs:
- template: build/stage-determine-changes.yml
# TODO: Changes will be made in a following PR to fix the related errors
# and enable Spell Checking and Markdown Linting
# Related issue: https://github.com/unoplatform/uno-private/issues/286
#
# - stage: Docs_Validations
# displayName: Docs Validations
# dependsOn: Determine_Changes
# # Trigger this stage when docs files are changed
# condition: or(eq(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true'), eq(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.mixedChanges'], 'true'))
# jobs:
# - template: build/stage-docs-validations.yml
- stage: Build_Samples
displayName: Build Samples
dependsOn: Determine_Changes
# Don't trigger this stage if only docs files are changed
condition: ne(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true')
jobs:
- template: build/stage-build-samples.yml