forked from microsoft/msquic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OneBranch.Package.yml
130 lines (115 loc) · 2.76 KB
/
OneBranch.Package.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
trigger: none # https://aka.ms/obpipelines/triggers
resources:
pipelines:
- pipeline: onebranch # Name of the pipeline resource
source: msquic-Official # Name of the pipeline referenced by the pipeline resource
branch: main
parameters:
- name: branch
type: string
displayName: Branch to PR to
default: official/rs_onecore_stack_wcpros_oc
- name: title
type: string
displayName: PR Title
default: 'Automated: Ingest MsQuic'
# - name: msrc
# type: string
# displayName: MSRC Number
# default: ''
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
stages:
- stage: prepare
displayName: Prepare VPack
dependsOn: []
jobs:
- template: ./obtemplates/prepare-vpacks.yml
parameters:
branch: ${{ parameters.branch }}
title: ${{ parameters.title }}
#msrc: ${{ parameters.msrc }}
- stage: push_amd64fre
displayName: Push amd64fre VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: amd64fre
- stage: push_amd64chk
displayName: Push amd64chk VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: amd64chk
- stage: push_arm64fre
displayName: Push arm64fre VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: arm64fre
- stage: push_arm64chk
displayName: Push arm64chk VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: arm64chk
- stage: push_armfre
displayName: Push armfre VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: armfre
- stage: push_armchk
displayName: Push armchk VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: armchk
- stage: push_chpefre
displayName: Push chpefre VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: chpefre
- stage: push_chpechk
displayName: Push chpechk VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: chpechk
- stage: push_x86fre
displayName: Push x86fre VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: x86fre
- stage: push_x86chk
displayName: Push x86chk VPack
dependsOn: [prepare]
jobs:
- template: ./obtemplates/push-vpack.yml
parameters:
platform: x86chk
- stage: push_git
displayName: Push to Git
dependsOn:
- push_amd64fre
- push_amd64chk
- push_arm64fre
- push_arm64chk
- push_armfre
- push_armchk
- push_chpefre
- push_chpechk
- push_x86fre
- push_x86chk
jobs:
- template: ./obtemplates/git-submit.yml