Skip to content

Commit

Permalink
Removed python matrix to produce single pure-Python wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
hmohiuddinTT committed Apr 2, 2024
1 parent 7efd14f commit 2a6855b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build-and-release-whls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
architecture: [x64]
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
cache: 'pip'

- name: Install Rust
run: |
Expand All @@ -38,18 +30,9 @@ jobs:
run: |
python -m build
- name: Rename wheel
run: |
RELEASE_TAG=${GITHUB_REF#refs/tags/v}
PYTHON_VERSION=$(echo ${{ matrix.python-version }} | sed 's/\.//')
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCHITECTURE=${{ matrix.architecture }}
mv dist/*.whl "dist/tt_flash-${RELEASE_TAG}-py${PYTHON_VERSION}-none-${OS}_${ARCHITECTURE}.whl"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: tt_flash-whl-${{ matrix.python-version }}-${{ matrix.architecture }}
path: |
./dist/*.whl
Expand Down

0 comments on commit 2a6855b

Please sign in to comment.