Skip to content

Commit

Permalink
chore: update git action
Browse files Browse the repository at this point in the history
  • Loading branch information
aiwantaozi committed Nov 21, 2024
1 parent 191dea1 commit af9b445
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11"]
os: [linux, darwin]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -72,23 +72,23 @@ jobs:
run: |
make publish-pypi
windows-amd64:
timeout-minutes: 20
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
# windows-amd64:
# timeout-minutes: 20
# runs-on: windows-latest
# strategy:
# matrix:
# python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
name: Checkout code
# steps:
# - uses: actions/checkout@v4
# name: Checkout code

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

- name: CI
shell: powershell
run: |
make ci
# - name: CI
# shell: powershell
# run: |
# make ci
4 changes: 3 additions & 1 deletion hack/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ function download_deps() {
rm -rf "${ROOT_DIR}/speech_box/third_party/CosyVoice/third_party/Matcha-TTS/data"

pip install poetry==1.8.3 pre-commit==4.0.1
poetry install

if speech_box::util::is_linux; then
pip install pynini==2.1.5 WeTextProcessing==1.0.3
fi
poetry install

pre-commit install
}

Expand Down

0 comments on commit af9b445

Please sign in to comment.