NVIDIA / NVTX

The NVIDIA® Tools Extension SDK (NVTX) is a C-based Application Programming Interface (API) for annotating events, code ranges, and resources in your applications.
Apache License 2.0
310 stars 48 forks source link

Create sdists in build workflow. #77

Closed bdice closed 1 year ago

bdice commented 1 year ago

This PR adds source distribution (sdist) artifacts to the cibuildwheel workflows. The sdist is built only on x86_64 (only one configuration is needed). It appears in the artifacts of that build. See https://github.com/bdice/NVTX/pull/1 and https://github.com/bdice/NVTX/actions/runs/5967235268?pr=1 for examples of this, tested on a PR to my fork of the repo. I have verified that the .tar.gz artifact is a part of that artifact zip, alongside wheels for various Python minor versions.

cc: @shwina