forked from flutter/cocoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ci.yaml
173 lines (160 loc) · 3.89 KB
/
.ci.yaml
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Describes the targets run in continuous integration environment.
#
# Flutter infra uses this file to generate a checklist of tasks to be performed
# for every commit.
#
# More information at:
# * https://github.com/flutter/cocoon/blob/main/CI_YAML.md
enabled_branches:
- main
platform_properties:
linux:
properties:
os: Linux
device_type: "none"
mac:
properties:
os: "Mac-12|Mac-13"
cpu: x86
mac_arm64:
properties:
os: "Mac-12|Mac-13"
cpu: arm64
windows:
properties:
os: Windows
device_type: "none"
targets:
- name: Linux Cocoon
recipe: cocoon/cocoon
properties:
add_recipes_cq: "true"
runIf:
- .ci.yaml
- analyze/**
- app_dart/**
- auto_submit/**
- cipd_packages/**
- cloud_build/**
- dashboard/**
- dev/**
- licenses/**
- packages/**
- test_utilities/**
- tooling/**
- CI_YAML.md
- name: Linux device_doctor
recipe: cocoon/cipd
properties:
script: cipd_packages/device_doctor/tool/build.sh
cipd_name: flutter/device_doctor/linux-amd64
runIf:
- cipd_packages/device_doctor/**
- .ci.yaml
- name: Mac device_doctor
recipe: cocoon/cipd
properties:
script: cipd_packages/device_doctor/tool/build.sh
cipd_name: flutter/device_doctor/mac-amd64
device_type: none
runIf:
- cipd_packages/device_doctor/**
- .ci.yaml
- name: Mac_arm64 device_doctor
recipe: cocoon/cipd
properties:
script: cipd_packages/device_doctor/tool/build.sh
cipd_name: flutter/device_doctor/mac-arm64
device_type: none
runIf:
- cipd_packages/device_doctor/**
- .ci.yaml
- name: Windows device_doctor
recipe: cocoon/cipd
properties:
script: cipd_packages\device_doctor\tool\build.bat
cipd_name: flutter/device_doctor/windows-amd64
runIf:
- cipd_packages/device_doctor/**
- .ci.yaml
- name: Linux doxygen
recipe: cocoon/cipd
properties:
script: cipd_packages/doxygen/tool/build.sh
cipd_name: flutter/doxygen/linux-amd64
dependencies: >-
[
{"dependency": "cmake", "version": "build_id:8787856497187628321"}
]
runIf:
- cipd_packages/doxygen/**
- .ci.yaml
- name: Mac codesign
recipe: cocoon/cipd
properties:
script: cipd_packages/codesign/tool/build.sh
cipd_name: flutter/codesign/mac-amd64
device_type: none
runIf:
- cipd_packages/codesign/**
- .ci.yaml
- name: Mac_arm64 codesign
recipe: cocoon/cipd
properties:
script: cipd_packages/codesign/tool/build.sh
cipd_name: flutter/codesign/mac-arm64
device_type: none
runIf:
- cipd_packages/codesign/**
- .ci.yaml
- name: Mac ruby
recipe: cocoon/cipd
timeout: 60
properties:
script: cipd_packages/ruby/tools/build.sh
cipd_name: flutter/ruby/mac-amd64
device_os: iOS
contexts: >-
[
"osx_sdk_devicelab"
]
$flutter/osx_sdk : >-
{
"sdk_version": "14e300c"
}
runIf:
- cipd_packages/ruby/**
- .ci.yaml
- name: Mac_arm64 ruby
recipe: cocoon/cipd
timeout: 60
properties:
script: cipd_packages/ruby/tools/build.sh
cipd_name: flutter/ruby/mac-arm64
device_os: iOS
contexts: >-
[
"osx_sdk_devicelab"
]
$flutter/osx_sdk : >-
{
"sdk_version": "14e300c"
}
runIf:
- cipd_packages/ruby/**
- .ci.yaml
- name: Linux ktlint
recipe: cocoon/cipd
timeout: 60
properties:
script: cipd_packages/ktlint/tools/build.sh
cipd_name: flutter/ktlint/linux-amd64
runIf:
- cipd_packages/ktlint/**
- .ci.yaml
- name: Linux ci_yaml roller
recipe: infra/ci_yaml
properties:
backfill: "false"
runIf:
- .ci.yaml