[lit][ci] Publish lit wheels (#88072)
authorSchuyler Eldridge <schuyler.eldridge@sifive.com>
Tue, 9 Apr 2024 15:55:17 +0000 (11:55 -0400)
committerTom Stellard <tstellar@redhat.com>
Wed, 10 Apr 2024 22:08:01 +0000 (15:08 -0700)
Add wheel publishing in addition to existing source distribution
publishing of lit.

Fixes #63369. This also uses the exact fix proposed by @EFord36 in
#63369.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 8a8ab8f70cbb5507d1aa55efcd9c6e61ad4e891c)

.github/workflows/release-lit.yml

index 36b0b6edd518fc74fecf397c8947ff706066a52e..0316ba406041d6fc63c812da994ea662276bee6e 100644 (file)
@@ -58,7 +58,7 @@ jobs:
           cd llvm/utils/lit
           # Remove 'dev' suffix from lit version.
           sed -i 's/ + "dev"//g' lit/__init__.py
-          python3 setup.py sdist
+          python3 setup.py sdist bdist_wheel
 
       - name: Upload lit to test.pypi.org
         uses: pypa/gh-action-pypi-publish@release/v1