ci: build and publish wheels on tag push

Generated with `maturin generate-ci github`, then trimmed to run on tags
only (it rebuilt every wheel on every PR) and to a smaller target matrix.

Publishing uses PyPI trusted publishing, so no API token is stored. This
needs a one-time trusted publisher registered on PyPI for this repo and
release.yml before the publish step will succeed.
This commit is contained in:
KhizarImran
2026-08-13 23:26:46 +01:00
parent e9676b426c
commit 4a9325b8ea
2 changed files with 122 additions and 0 deletions
+3
View File
@@ -18,5 +18,8 @@ report = ["plotly>=5"]
module-name = "backtestingfx._backtestingfx"
features = ["pyo3/extension-module"]
[tool.maturin.generate-ci.github]
trusted-publishing = true
[project.urls]
Repository = "https://github.com/KhizarImran/backtestingfx"