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

Added GitHub Action workflow to build and release the Python wheels #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hmohiuddinTT
Copy link

@hmohiuddinTT hmohiuddinTT commented Apr 3, 2024

This PR sets up a GitHub Actions workflow to automate building wheels for tt-smi using the Python build tool.

It only gets triggered on releases getting published, and on success will push the generated .whl file to the same release that triggered it.

The release tags must match the following format for the workflow to be triggered:

  • Start with 'v*' # Push events to matching v*, i.e. v1.0.0, v2.0.0, ...

The generated Wheels files have been tested and verified on my fork of the project.

  • This action uses twine to verify the produced artifacts
  • Currently commented out gh-action-pypi-publish which would publish to PyPI using the PYPI_API_TOKEN, which can be passed via GH Actions secrets

@hmohiuddinTT hmohiuddinTT self-assigned this Apr 3, 2024
@hmohiuddinTT hmohiuddinTT force-pushed the build-and-publish-release-whls branch from 866d3dd to a10791e Compare April 3, 2024 18:55
@hmohiuddinTT hmohiuddinTT added the enhancement New feature or request label Apr 3, 2024
@hmohiuddinTT hmohiuddinTT requested a review from sbansalTT April 3, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant