Skip to content

Commit fc177ba

Browse files
don't clone swift syntax on main (#718)
1 parent 51ffb1f commit fc177ba

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

run_sk_stress_test

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,14 @@ def clone_stress_tester(workspace: str, swift_branch: str) -> None:
158158
common.check_execute(stress_clone_cmd, timeout=-1)
159159

160160
def clone_swift_syntax(workspace: str, swift_branch: str) -> None:
161-
syntax_clone_cmd = [
162-
'git','clone', '-q', '-b', swift_branch, '--recursive',
163-
'https://github.com/apple/swift-syntax',
164-
'{}/swift-syntax'.format(workspace)
165-
]
166-
common.check_execute(syntax_clone_cmd, timeout=-1)
161+
if swift_branch in ['release/5.7', 'release/5.6',
162+
'release/5.5', 'release/5.4']:
163+
syntax_clone_cmd = [
164+
'git', 'clone', '-q', '-b', swift_branch, '--recursive',
165+
'https://github.com/apple/swift-syntax',
166+
'{}/swift-syntax'.format(workspace)
167+
]
168+
common.check_execute(syntax_clone_cmd, timeout=-1)
167169

168170

169171
def execute_runner(workspace: str, args: argparse.Namespace) -> bool:

0 commit comments

Comments
 (0)