OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from buildbot.schedulers.basic import SingleBranchScheduler | 5 from buildbot.schedulers.basic import SingleBranchScheduler |
6 | 6 |
7 from master.factory import annotator_factory | 7 from master.factory import annotator_factory |
8 from master.factory import remote_run_factory | 8 from master.factory import remote_run_factory |
9 | 9 |
10 import master_site_config | 10 import master_site_config |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 def Update(c): | 26 def Update(c): |
27 c['schedulers'].extend([ | 27 c['schedulers'].extend([ |
28 SingleBranchScheduler(name='webrtc_mac_scheduler', | 28 SingleBranchScheduler(name='webrtc_mac_scheduler', |
29 branch='master', | 29 branch='master', |
30 treeStableTimer=30, | 30 treeStableTimer=30, |
31 builderNames=[ | 31 builderNames=[ |
32 'Mac64 Debug', | 32 'Mac64 Debug', |
33 'Mac64 Release', | 33 'Mac64 Release', |
34 'Mac64 Release [large tests]', | 34 'Mac64 Release [large tests]', |
35 'Mac64 Debug (GN)', | 35 'Mac64 Debug (GYP)', |
36 'Mac64 Release (GN)', | 36 'Mac64 Release (GYP)', |
37 'Mac Asan', | 37 'Mac Asan', |
38 'iOS32 Debug', | 38 'iOS32 Debug', |
39 'iOS32 Release', | 39 'iOS32 Release', |
40 'iOS64 Debug', | 40 'iOS64 Debug', |
41 'iOS64 Release', | 41 'iOS64 Release', |
42 'iOS32 Simulator Debug', | 42 'iOS32 Simulator Debug', |
43 'iOS64 Simulator Debug', | 43 'iOS64 Simulator Debug', |
44 'iOS64 Debug (GN)', | 44 'iOS64 Debug (GN)', |
45 'iOS64 Release (GN)', | 45 'iOS64 Release (GN)', |
46 'iOS API Framework Builder', | 46 'iOS API Framework Builder', |
47 ]), | 47 ]), |
48 ]) | 48 ]) |
49 | 49 |
50 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 50 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
51 # of the builders are pooled over multiple slave machines. | 51 # of the builders are pooled over multiple slave machines. |
52 specs = [ | 52 specs = [ |
53 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, | 53 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, |
54 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, | 54 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, |
55 { | 55 { |
56 'name': 'Mac64 Release [large tests]', | 56 'name': 'Mac64 Release [large tests]', |
57 'category': 'compile|baremetal', | 57 'category': 'compile|baremetal', |
58 'slavebuilddir': 'mac_baremetal', | 58 'slavebuilddir': 'mac_baremetal', |
59 }, | 59 }, |
60 {'name': 'Mac64 Debug (GN)', 'slavebuilddir': 'mac64_gn'}, | 60 {'name': 'Mac64 Debug (GYP)', 'slavebuilddir': 'mac64_gyp'}, |
61 {'name': 'Mac64 Release (GN)', 'slavebuilddir': 'mac64_gn'}, | 61 {'name': 'Mac64 Release (GYP)', 'slavebuilddir': 'mac64_gyp'}, |
62 {'name': 'Mac Asan', 'slavebuilddir': 'mac_asan'}, | 62 {'name': 'Mac Asan', 'slavebuilddir': 'mac_asan'}, |
63 { | 63 { |
64 'name': 'iOS32 Debug', | 64 'name': 'iOS32 Debug', |
65 'slavebuilddir': 'mac32', | 65 'slavebuilddir': 'mac32', |
66 'recipe': 'webrtc/ios', | 66 'recipe': 'webrtc/ios', |
67 }, | 67 }, |
68 { | 68 { |
69 'name': 'iOS32 Release', | 69 'name': 'iOS32 Release', |
70 'slavebuilddir': 'mac32', | 70 'slavebuilddir': 'mac32', |
71 'recipe': 'webrtc/ios', | 71 'recipe': 'webrtc/ios', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 'name': spec['name'], | 112 'name': spec['name'], |
113 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. | 113 # remote_run is not working for the webrtc/ios recipe: crbug.com/637666. |
114 'factory': m_annotator.BaseFactory(spec['recipe']) | 114 'factory': m_annotator.BaseFactory(spec['recipe']) |
115 if 'recipe' in spec and spec['recipe'] == 'webrtc/ios' | 115 if 'recipe' in spec and spec['recipe'] == 'webrtc/ios' |
116 else m_remote_run(spec.get('recipe', 'webrtc/standalone')), | 116 else m_remote_run(spec.get('recipe', 'webrtc/standalone')), |
117 'notify_on_missing': True, | 117 'notify_on_missing': True, |
118 'category': spec.get('category', 'compile|testers'), | 118 'category': spec.get('category', 'compile|testers'), |
119 'slavebuilddir': spec['slavebuilddir'], | 119 'slavebuilddir': spec['slavebuilddir'], |
120 } for spec in specs | 120 } for spec in specs |
121 ]) | 121 ]) |
OLD | NEW |