Skip to content
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

Add GitHub Actions workflow for automated Python wheel builds across multiple platforms #699

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jstzwj
Copy link

@jstzwj jstzwj commented Jan 8, 2025

I am trying to build wheels TA-Lib across multiple platforms and architectures with GitHub Actions workflow. The workflow is triggered when a new tag starting with v* is pushed.

The workflow builds wheels for:

  • Linux: ManyLinux (x86_64) and MuslLinux (x86_64)
  • Windows: AMD64 and x86
  • macOS: x86_64 and arm64

PR Details:

  • add build_wheel_windows.cmd, build_wheel_linux.sh and build_wheel_linux.sh under the tools folder
  • add build.yml under the workflow using pypa/cibuildwheel to handle the wheel-building process.

Currently, the workflow uploads the built wheels as GitHub artifacts. The PyPI Uploading or Github Release Uploading steps are not yet implemented.

Additionally, since the project already has a test workflow, I skipped all tests to speed up the build process (running tests would take five to six hours to build wheels for all platforms).
One of the reasons is that many platforms require building the test dependency (such as polars and numpy) from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant