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 remote_run_factory | 7 from master.factory import remote_run_factory |
8 | 8 |
9 import master_site_config | 9 import master_site_config |
10 ActiveMaster = master_site_config.WebRTC | 10 ActiveMaster = master_site_config.WebRTC |
(...skipping 12 matching lines...) Expand all Loading... |
23 c['schedulers'].extend([ | 23 c['schedulers'].extend([ |
24 SingleBranchScheduler(name='webrtc_windows_scheduler', | 24 SingleBranchScheduler(name='webrtc_windows_scheduler', |
25 branch='master', | 25 branch='master', |
26 treeStableTimer=30, | 26 treeStableTimer=30, |
27 builderNames=[ | 27 builderNames=[ |
28 'Win32 Debug', | 28 'Win32 Debug', |
29 'Win32 Release', | 29 'Win32 Release', |
30 'Win64 Debug', | 30 'Win64 Debug', |
31 'Win64 Release', | 31 'Win64 Release', |
32 'Win32 Release [large tests]', | 32 'Win32 Release [large tests]', |
33 'Win64 Debug (GN)', | 33 'Win64 Debug (GYP)', |
34 'Win64 Release (GN)', | 34 'Win64 Release (GYP)', |
35 'Win32 Debug (Clang)', | 35 'Win32 Debug (Clang)', |
36 'Win32 Release (Clang)', | 36 'Win32 Release (Clang)', |
37 'Win64 Debug (Clang)', | 37 'Win64 Debug (Clang)', |
38 'Win64 Release (Clang)', | 38 'Win64 Release (Clang)', |
39 'Win DrMemory Light', | 39 'Win DrMemory Light', |
40 'Win DrMemory Full', | 40 'Win DrMemory Full', |
41 'Win SyzyASan', | 41 'Win SyzyASan', |
42 ]), | 42 ]), |
43 ]) | 43 ]) |
44 | 44 |
45 # 'slavebuilddir' below is used to reduce the number of checkouts since some | 45 # 'slavebuilddir' below is used to reduce the number of checkouts since some |
46 # of the builders are pooled over multiple slave machines. | 46 # of the builders are pooled over multiple slave machines. |
47 specs = [ | 47 specs = [ |
48 {'name': 'Win32 Debug'}, | 48 {'name': 'Win32 Debug'}, |
49 {'name': 'Win32 Release'}, | 49 {'name': 'Win32 Release'}, |
50 {'name': 'Win64 Debug'}, | 50 {'name': 'Win64 Debug'}, |
51 {'name': 'Win64 Release'}, | 51 {'name': 'Win64 Release'}, |
52 { | 52 { |
53 'name': 'Win32 Release [large tests]', | 53 'name': 'Win32 Release [large tests]', |
54 'category': 'compile|baremetal|windows', | 54 'category': 'compile|baremetal|windows', |
55 'slavebuilddir': 'win_baremetal', | 55 'slavebuilddir': 'win_baremetal', |
56 }, | 56 }, |
57 {'name': 'Win64 Debug (GN)', 'slavebuilddir': 'win64_gn'}, | 57 {'name': 'Win64 Debug (GYP)', 'slavebuilddir': 'win64_gyp'}, |
58 {'name': 'Win64 Release (GN)', 'slavebuilddir': 'win64_gn'}, | 58 {'name': 'Win64 Release (GYP)', 'slavebuilddir': 'win64_gyp'}, |
59 {'name': 'Win32 Debug (Clang)', 'slavebuilddir': 'win_clang'}, | 59 {'name': 'Win32 Debug (Clang)', 'slavebuilddir': 'win_clang'}, |
60 {'name': 'Win32 Release (Clang)', 'slavebuilddir': 'win_clang'}, | 60 {'name': 'Win32 Release (Clang)', 'slavebuilddir': 'win_clang'}, |
61 {'name': 'Win64 Debug (Clang)', 'slavebuilddir': 'win_clang'}, | 61 {'name': 'Win64 Debug (Clang)', 'slavebuilddir': 'win_clang'}, |
62 {'name': 'Win64 Release (Clang)', 'slavebuilddir': 'win_clang'}, | 62 {'name': 'Win64 Release (Clang)', 'slavebuilddir': 'win_clang'}, |
63 { | 63 { |
64 'name': 'Win DrMemory Light', | 64 'name': 'Win DrMemory Light', |
65 'category': 'compile', | 65 'category': 'compile', |
66 'slavebuilddir': 'win-drmem', | 66 'slavebuilddir': 'win-drmem', |
67 }, | 67 }, |
68 { | 68 { |
69 'name': 'Win DrMemory Full', | 69 'name': 'Win DrMemory Full', |
70 'category': 'compile', | 70 'category': 'compile', |
71 'slavebuilddir': 'win-drmem', | 71 'slavebuilddir': 'win-drmem', |
72 }, | 72 }, |
73 {'name': 'Win SyzyASan', 'slavebuilddir': 'win-syzyasan'}, | 73 {'name': 'Win SyzyASan', 'slavebuilddir': 'win-syzyasan'}, |
74 ] | 74 ] |
75 | 75 |
76 c['builders'].extend([ | 76 c['builders'].extend([ |
77 { | 77 { |
78 'name': spec['name'], | 78 'name': spec['name'], |
79 # TODO(sergiyb): Remove the timeout below after all bots have synched | 79 # TODO(sergiyb): Remove the timeout below after all bots have synched |
80 # past Blink merge commit. | 80 # past Blink merge commit. |
81 'factory': m_remote_run('webrtc/standalone', timeout=3600), | 81 'factory': m_remote_run('webrtc/standalone', timeout=3600), |
82 'notify_on_missing': True, | 82 'notify_on_missing': True, |
83 'category': spec.get('category', 'compile|testers|windows'), | 83 'category': spec.get('category', 'compile|testers|windows'), |
84 'slavebuilddir': spec.get('slavebuilddir', 'win'), | 84 'slavebuilddir': spec.get('slavebuilddir', 'win'), |
85 } for spec in specs | 85 } for spec in specs |
86 ]) | 86 ]) |
OLD | NEW |