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 | 8 |
9 m_annotator = annotator_factory.AnnotatorFactory() | 9 m_annotator = annotator_factory.AnnotatorFactory() |
10 | 10 |
11 def Update(c): | 11 def Update(c): |
12 c['schedulers'].extend([ | 12 c['schedulers'].extend([ |
13 SingleBranchScheduler(name='webrtc_mac_scheduler', | 13 SingleBranchScheduler(name='webrtc_mac_scheduler', |
14 branch='master', | 14 branch='master', |
15 treeStableTimer=30, | 15 treeStableTimer=30, |
16 builderNames=[ | 16 builderNames=[ |
17 'Mac32 Debug', | 17 'Mac32 Debug', |
18 'Mac32 Release', | 18 'Mac32 Release', |
19 'Mac64 Debug', | 19 'Mac64 Debug', |
20 'Mac64 Release', | 20 'Mac64 Release', |
21 'Mac32 Release [large tests]', | 21 'Mac32 Release [large tests]', |
22 'Mac64 Debug (GN)', | 22 'Mac64 Debug (GN)', |
23 'Mac64 Release (GN)', | 23 'Mac64 Release (GN)', |
24 'Mac Asan', | 24 'Mac Asan', |
25 'iOS32 Debug', | 25 'iOS32 Debug', |
26 'iOS32 Release', | 26 'iOS32 Release', |
27 'iOS64 Debug', | 27 'iOS64 Debug', |
28 'iOS64 Release', | 28 'iOS64 Release', |
| 29 'iOS32 Simulator Debug', |
| 30 'iOS64 Simulator Debug', |
29 ]), | 31 ]), |
30 ]) | 32 ]) |
31 | 33 |
32 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 34 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
33 # of the builders are pooled over multiple slave machines. | 35 # of the builders are pooled over multiple slave machines. |
34 specs = [ | 36 specs = [ |
35 {'name': 'Mac32 Debug', 'slavebuilddir': 'mac32'}, | 37 {'name': 'Mac32 Debug', 'slavebuilddir': 'mac32'}, |
36 {'name': 'Mac32 Release', 'slavebuilddir': 'mac32'}, | 38 {'name': 'Mac32 Release', 'slavebuilddir': 'mac32'}, |
37 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, | 39 {'name': 'Mac64 Debug', 'slavebuilddir': 'mac64'}, |
38 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, | 40 {'name': 'Mac64 Release', 'slavebuilddir': 'mac64'}, |
39 { | 41 { |
40 'name': 'Mac32 Release [large tests]', | 42 'name': 'Mac32 Release [large tests]', |
41 'category': 'compile|baremetal', | 43 'category': 'compile|baremetal', |
42 'slavebuilddir': 'mac_baremetal', | 44 'slavebuilddir': 'mac_baremetal', |
43 }, | 45 }, |
44 {'name': 'Mac64 Debug (GN)', 'slavebuilddir': 'mac64_gn'}, | 46 {'name': 'Mac64 Debug (GN)', 'slavebuilddir': 'mac64_gn'}, |
45 {'name': 'Mac64 Release (GN)', 'slavebuilddir': 'mac64_gn'}, | 47 {'name': 'Mac64 Release (GN)', 'slavebuilddir': 'mac64_gn'}, |
46 {'name': 'Mac Asan', 'slavebuilddir': 'mac_asan'}, | 48 {'name': 'Mac Asan', 'slavebuilddir': 'mac_asan'}, |
47 {'name': 'iOS32 Debug', 'slavebuilddir': 'mac32'}, | 49 {'name': 'iOS32 Debug', 'slavebuilddir': 'mac32'}, |
48 {'name': 'iOS32 Release', 'slavebuilddir': 'mac32'}, | 50 {'name': 'iOS32 Release', 'slavebuilddir': 'mac32'}, |
49 {'name': 'iOS64 Debug', 'slavebuilddir': 'mac64'}, | 51 {'name': 'iOS64 Debug', 'slavebuilddir': 'mac64'}, |
50 {'name': 'iOS64 Release', 'slavebuilddir': 'mac64'}, | 52 {'name': 'iOS64 Release', 'slavebuilddir': 'mac64'}, |
| 53 {'name': 'iOS32 Simulator Debug','slavebuilddir': 'mac64'}, |
| 54 {'name': 'iOS64 Simulator Debug', 'slavebuilddir': 'mac64'}, |
51 ] | 55 ] |
52 | 56 |
53 c['builders'].extend([ | 57 c['builders'].extend([ |
54 { | 58 { |
55 'name': spec['name'], | 59 'name': spec['name'], |
56 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 60 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
57 'notify_on_missing': True, | 61 'notify_on_missing': True, |
58 'category': spec.get('category', 'compile|testers'), | 62 'category': spec.get('category', 'compile|testers'), |
59 'slavebuilddir': spec['slavebuilddir'], | 63 'slavebuilddir': spec['slavebuilddir'], |
60 } for spec in specs | 64 } for spec in specs |
61 ]) | 65 ]) |
OLD | NEW |