Skip to content

CI Publish to Pypi workflow for aarch64 wheels #19060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions build_tools/github/check_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@
build_matrix = wheel_config['jobs']['build_wheels']['strategy']['matrix']
n_python_versions = len(build_matrix['python'])

# For each python version we have: 6 wheels
# For each python version we have: 5 wheels
# 1 osx wheel (x86_64)
# 3 linux wheel (i686 + x86_64 + arm64)
# 2 linux wheel (i686 + x86_64)
# 2 windows wheel (win32 + wind_amd64)
n_wheels = 6 * n_python_versions
n_wheels = 5 * n_python_versions

# plus one more for the sdist
n_wheels += 1

# aarch64 builds from travis
travis_config_path = Path.cwd() / ".travis.yml"
with travis_config_path.open('r') as f:
travis_config = yaml.safe_load(f)

jobs = travis_config['jobs']['include']
travis_builds = [j for j in jobs
if any("CIBW_BUILD" in env for env in j["env"])]
n_wheels += len(travis_builds)

dist_files = list(Path("dist").glob('**/*'))
n_dist_files = len(dist_files)

Expand Down