ci: add check for dist zip file changes (#18446)

This commit is contained in:
Jeremy Apthorp 2019-05-29 09:40:02 -07:00 committed by GitHub
parent 471d457576
commit f5b3d00b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 873 additions and 1 deletions

View file

@ -54,7 +54,7 @@ def main(argv):
if sys.platform == 'darwin':
execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
else:
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, True) as z:
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, allowZip64=True) as z:
for dep in dist_files:
if skip_path(dep, dist_zip, target_cpu):
continue