1
0
Fork 0

Update premerge_checks.py

use specific commit for reproducing the build
This commit is contained in:
Mikhail Goncharov 2020-08-14 15:54:11 +02:00 committed by GitHub
parent a410c28d03
commit dc1080fc4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,7 +161,7 @@ if __name__ == '__main__':
print('--- Reproduce build locally', flush=True)
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_COMMIT")}')
for s in report.steps:
if len(s.reproduce_commands) == 0:
continue