PRESUBMIT: Add GN trybots for Windows and Mac.
Add to the default set since they're now green. BUG=4105 R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34689004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8029 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
13
PRESUBMIT.py
13
PRESUBMIT.py
@@ -317,12 +317,20 @@ def GetPreferredTryMasters(project, change):
|
|||||||
'linux_rel',
|
'linux_rel',
|
||||||
'linux_tsan2',
|
'linux_tsan2',
|
||||||
] + linux_gn_bots
|
] + linux_gn_bots
|
||||||
|
mac_gn_bots = [
|
||||||
|
'mac_x64_gn',
|
||||||
|
'mac_x64_gn_rel',
|
||||||
|
]
|
||||||
mac_bots = [
|
mac_bots = [
|
||||||
'mac',
|
'mac',
|
||||||
'mac_asan',
|
'mac_asan',
|
||||||
'mac_baremetal',
|
'mac_baremetal',
|
||||||
'mac_rel',
|
'mac_rel',
|
||||||
'mac_x64_rel',
|
'mac_x64_rel',
|
||||||
|
] + mac_gn_bots
|
||||||
|
win_gn_bots = [
|
||||||
|
'win_x64_gn',
|
||||||
|
'win_x64_gn_rel',
|
||||||
]
|
]
|
||||||
win_bots = [
|
win_bots = [
|
||||||
'win',
|
'win',
|
||||||
@@ -331,11 +339,12 @@ def GetPreferredTryMasters(project, change):
|
|||||||
'win_drmemory_light',
|
'win_drmemory_light',
|
||||||
'win_rel',
|
'win_rel',
|
||||||
'win_x64_rel',
|
'win_x64_rel',
|
||||||
]
|
] + win_gn_bots
|
||||||
if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files):
|
if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files):
|
||||||
return {}
|
return {}
|
||||||
if all(re.search(r'[\\/]BUILD.gn$', f) for f in files):
|
if all(re.search(r'[\\/]BUILD.gn$', f) for f in files):
|
||||||
return GetDefaultTryConfigs(android_gn_bots + linux_gn_bots)
|
return GetDefaultTryConfigs(android_gn_bots + linux_gn_bots + mac_gn_bots +
|
||||||
|
win_gn_bots)
|
||||||
if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
|
if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
|
||||||
return GetDefaultTryConfigs(mac_bots)
|
return GetDefaultTryConfigs(mac_bots)
|
||||||
if all(re.search('(^|[/_])win[/_.]', f) for f in files):
|
if all(re.search('(^|[/_])win[/_.]', f) for f in files):
|
||||||
|
|||||||
Reference in New Issue
Block a user