Try --plat-name

This commit is contained in:
WeberJulian 2022-06-24 16:19:26 +02:00
parent 2e3743308a
commit 924dbbad50
1 changed files with 15 additions and 13 deletions

View File

@ -11,15 +11,15 @@ jobs:
build-sdist: build-sdist:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Verify tag matches version - name: Verify tag matches version
# run: | run: |
# set -ex set -ex
# version=$(cat TTS/VERSION) version=$(cat TTS/VERSION)
# tag="${GITHUB_REF/refs\/tags\/}" tag="${GITHUB_REF/refs\/tags\/}"
# if [[ "v$version" != "$tag" ]]; then if [[ "v$version" != "v$version" ]]; then
# exit 1 exit 1
# fi fi
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.8
@ -45,10 +45,12 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- run: | - run: |
python -m pip install -U pip setuptools wheel build python -m pip install -U pip setuptools wheel build
- name: Build manylinux Python wheels # - name: Build manylinux Python wheels
uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64 # uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
with: # with:
python-versions: 'cp37-cp37m' # python-versions: 'cp37-cp37m'
- run:
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
- run: | - run: |
python -m pip install dist/*-manylinux*.whl python -m pip install dist/*-manylinux*.whl
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2