File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,21 @@ def main():
90
90
with open (ws_comment , 'w' ) as f :
91
91
f .write ("Compilation-performance test failed" )
92
92
93
+ # First _get_ all the sources (with as little a gap between
94
+ # fetches as possible to minimize race possibility)
93
95
for instance in instances :
94
96
workspace = get_workspace_for_instance (instance , args )
95
97
96
98
if args .setup_workspaces_for_pr :
97
99
setup_workspace (instance , workspace , args )
98
100
validate_workspace (instance , workspace , args )
99
101
102
+ # Then _build and test_ both workspaces, which can take
103
+ # longer since we're not concerned about racing on github
104
+ # anymore.
105
+ for instance in instances :
106
+ workspace = get_workspace_for_instance (instance , args )
107
+
100
108
if not args .skip_build :
101
109
build_swift_toolchain (workspace , args )
102
110
You can’t perform that action at this time.
0 commit comments