1
+ # Pull request validation for Linux against the `dev` and `master` branches
2
+ # See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
3
+ trigger :
4
+ branches :
5
+ include :
6
+ - dev
7
+ - master
8
+
9
+ name : $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
10
+
11
+ pr :
12
+ autoCancel : true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
13
+ branches :
14
+ include : [ dev, master ] # branch names which will trigger a build
15
+
16
+ jobs :
17
+ - template : azure-pipeline.template.yaml
18
+ parameters :
19
+ name : ' nuget_pack'
20
+ displayName : ' NuGet Pack'
21
+ vmImage : ' vs2017-win2016'
22
+ scriptFileName : ./build.cmd
23
+ scriptArgs : nuget
24
+ outputDirectory : ' bin/nuget'
25
+ artifactName : ' nuget_pack-$(Build.BuildId)'
26
+ - template : azure-pipeline.template.yaml
27
+ parameters :
28
+ name : ' windows_tests'
29
+ displayName : ' Windows Tests'
30
+ vmImage : ' vs2017-win2016'
31
+ scriptFileName : build.cmd
32
+ scriptArgs : runtests
33
+ outputDirectory : ' TestResults'
34
+ artifactName : ' tests_windows-$(Build.BuildId)'
35
+ - template : azure-pipeline.template.yaml
36
+ parameters :
37
+ name : ' windows_perf_tests'
38
+ displayName : ' Windows Performance Tests'
39
+ vmImage : ' vs2017-win2016'
40
+ scriptFileName : build.cmd
41
+ scriptArgs : nbench
42
+ outputDirectory : ' PerfResults'
43
+ artifactName : ' perf_tests_windows-$(Build.BuildId)'
44
+ - template : azure-pipeline.template.yaml
45
+ parameters :
46
+ name : ' linux_tests'
47
+ displayName : ' Linux Tests'
48
+ vmImage : ' ubuntu-16.04'
49
+ scriptFileName : build.sh
50
+ scriptArgs : runtests
51
+ outputDirectory : ' TestResults'
52
+ artifactName : ' tests_linux-$(Build.BuildId)'
53
+ - template : azure-pipeline.template.yaml
54
+ parameters :
55
+ name : ' linux_perf_tests'
56
+ displayName : ' Linux Performance Tests'
57
+ vmImage : ' ubuntu-16.04'
58
+ scriptFileName : build.sh
59
+ scriptArgs : nbench
60
+ outputDirectory : ' PerfResults'
61
+ artifactName : ' perf_tests_linux-$(Build.BuildId)'
0 commit comments