1
0
Fork 0

Update premerge_checks.py

add cd after clone
This commit is contained in:
Mikhail Goncharov 2020-08-14 15:17:21 +02:00 committed by GitHub
parent afb8c84bde
commit a410c28d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,8 @@ if __name__ == '__main__':
msg = ': ' + '\n '.join(s.messages)
print(f'{mark} {s.name}{msg}', 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")}')
for s in report.steps:
if len(s.reproduce_commands) == 0: