From af9b445e55247627545afae455e59fa97a151528 Mon Sep 17 00:00:00 2001 From: michelia Date: Thu, 21 Nov 2024 13:33:39 +0800 Subject: [PATCH] chore: update git action --- .github/workflows/ci.yml | 36 ++++++++++++++++++------------------ hack/install.sh | 4 +++- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4b5a17..dcc3cdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/hack/install.sh b/hack/install.sh index 5816d9f..bc32fa4 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -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 }