ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

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

Open jstzwj opened this issue 10 months ago • 0 comments

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.

jstzwj avatar Jan 08 '25 20:01 jstzwj