Update premerge_checks.py
add cd after clone
This commit is contained in:
parent
afb8c84bde
commit
a410c28d03
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ if __name__ == '__main__':
|
||||||
msg = ': ' + '\n '.join(s.messages)
|
msg = ': ' + '\n '.join(s.messages)
|
||||||
print(f'{mark} {s.name}{msg}', flush=True)
|
print(f'{mark} {s.name}{msg}', flush=True)
|
||||||
print('--- Reproduce build locally', flush=True)
|
print('--- Reproduce build locally', flush=True)
|
||||||
print(f'git clone {os.getenv("BUILDKITE_REPO")}')
|
print(f'git clone {os.getenv("BUILDKITE_REPO")} llvm-project')
|
||||||
|
print('cd llvm-project')
|
||||||
print(f'git checkout {os.getenv("BUILDKITE_BRANCH")}')
|
print(f'git checkout {os.getenv("BUILDKITE_BRANCH")}')
|
||||||
for s in report.steps:
|
for s in report.steps:
|
||||||
if len(s.reproduce_commands) == 0:
|
if len(s.reproduce_commands) == 0:
|
||||||
|
|
Loading…
Reference in a new issue