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_windows_scheduler', | 13 SingleBranchScheduler(name='webrtc_windows_scheduler', |
14 branch='trunk', | 14 branch='trunk', |
15 treeStableTimer=30, | 15 treeStableTimer=30, |
16 builderNames=[ | 16 builderNames=[ |
17 'Win32 Debug', | 17 'Win32 Debug', |
18 'Win32 Release', | 18 'Win32 Release', |
19 'Win64 Debug', | 19 'Win64 Debug', |
20 'Win64 Release', | 20 'Win64 Release', |
21 'Win32 Release [large tests]', | 21 'Win32 Release [large tests]', |
22 'Win64 Debug (GN)', | 22 'Win64 Debug (GN)', |
23 'Win64 Release (GN)', | 23 'Win64 Release (GN)', |
24 'Win DrMemory Light', | 24 'Win DrMemory Light', |
25 'Win DrMemory Full', | 25 'Win DrMemory Full', |
26 'Win SyzyASan', | |
27 ]), | 26 ]), |
28 ]) | 27 ]) |
29 | 28 |
30 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 29 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
31 # of the builders are pooled over multiple slave machines. | 30 # of the builders are pooled over multiple slave machines. |
32 specs = [ | 31 specs = [ |
33 {'name': 'Win32 Debug'}, | 32 {'name': 'Win32 Debug'}, |
34 {'name': 'Win32 Release'}, | 33 {'name': 'Win32 Release'}, |
35 {'name': 'Win64 Debug'}, | 34 {'name': 'Win64 Debug'}, |
36 {'name': 'Win64 Release'}, | 35 {'name': 'Win64 Release'}, |
37 { | 36 { |
38 'name': 'Win32 Release [large tests]', | 37 'name': 'Win32 Release [large tests]', |
39 'category': 'compile|baremetal|windows', | 38 'category': 'compile|baremetal|windows', |
40 'slavebuilddir': 'win_baremetal', | 39 'slavebuilddir': 'win_baremetal', |
41 }, | 40 }, |
42 {'name': 'Win64 Debug (GN)', 'slavebuilddir': 'win64_gn'}, | 41 {'name': 'Win64 Debug (GN)', 'slavebuilddir': 'win64_gn'}, |
43 {'name': 'Win64 Release (GN)', 'slavebuilddir': 'win64_gn'}, | 42 {'name': 'Win64 Release (GN)', 'slavebuilddir': 'win64_gn'}, |
44 { | 43 { |
45 'name': 'Win DrMemory Light', | 44 'name': 'Win DrMemory Light', |
46 'category': 'compile', | 45 'category': 'compile', |
47 'slavebuilddir': 'win-drmem', | 46 'slavebuilddir': 'win-drmem', |
48 }, | 47 }, |
49 { | 48 { |
50 'name': 'Win DrMemory Full', | 49 'name': 'Win DrMemory Full', |
51 'category': 'compile', | 50 'category': 'compile', |
52 'slavebuilddir': 'win-drmem', | 51 'slavebuilddir': 'win-drmem', |
53 }, | 52 }, |
54 {'name': 'Win SyzyASan', 'slavebuilddir': 'win-syzyasan'}, | |
55 ] | 53 ] |
56 | 54 |
57 c['builders'].extend([ | 55 c['builders'].extend([ |
58 { | 56 { |
59 'name': spec['name'], | 57 'name': spec['name'], |
60 'factory': m_annotator.BaseFactory('webrtc/standalone'), | 58 'factory': m_annotator.BaseFactory('webrtc/standalone'), |
61 'notify_on_missing': True, | 59 'notify_on_missing': True, |
62 'category': spec.get('category', 'compile|testers|windows'), | 60 'category': spec.get('category', 'compile|testers|windows'), |
63 'slavebuilddir': spec.get('slavebuilddir', 'win'), | 61 'slavebuilddir': spec.get('slavebuilddir', 'win'), |
64 } for spec in specs | 62 } for spec in specs |
65 ]) | 63 ]) |
OLD | NEW |