mirror of https://github.com/coqui-ai/TTS.git
Add other python versions
This commit is contained in:
parent
32ca5b0d34
commit
0d9f7f21a3
|
@ -10,16 +10,13 @@ defaults:
|
||||||
jobs:
|
jobs:
|
||||||
build-sdist:
|
build-sdist:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps: #Add back version test
|
||||||
- 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" != "v$version" ]]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
@ -37,23 +34,19 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7"]
|
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- run: |
|
- name: Install pip requirements
|
||||||
|
run: |
|
||||||
python -m pip install -U pip setuptools wheel build
|
python -m pip install -U pip setuptools wheel build
|
||||||
# - name: Build manylinux Python wheels
|
|
||||||
# uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
|
|
||||||
# with:
|
|
||||||
# python-versions: 'cp37-cp37m'
|
|
||||||
- run:
|
|
||||||
python -m pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
- run:
|
- name: Setup and install manylinux1_x86_64 wheel
|
||||||
|
run: |
|
||||||
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
||||||
- 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
|
||||||
with:
|
with:
|
||||||
|
@ -73,5 +66,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "wheel-3.7"
|
name: "wheel-3.7"
|
||||||
path: "dist/"
|
path: "dist/"
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "wheel-3.8"
|
||||||
|
path: "dist/"
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "wheel-3.9"
|
||||||
|
path: "dist/"
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "wheel-3.10"
|
||||||
|
path: "dist/"
|
||||||
- run: |
|
- run: |
|
||||||
ls -lh dist/
|
ls -lh dist/
|
||||||
|
|
Loading…
Reference in New Issue