From 4463dd46fdd9fa3c8c8de2ee869787fc21b55f91 Mon Sep 17 00:00:00 2001 From: Gray Suitcase <41382894+PickledChair@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:53:23 +0900 Subject: [PATCH] =?UTF-8?q?Mac=20=E7=89=88=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=81=8C=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=AA=E3=81=8F=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7=E5=8B=95?= =?UTF-8?q?=E4=BD=9C=E5=8F=AF=E8=83=BD=E3=81=AB=E3=81=99=E3=82=8B=20(#283)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * remove the workaround for license generation * remove comment out --- .github/workflows/build.yml | 37 ++----------------------------------- 1 file changed, 2 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfa3de2a4..760711a28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,39 +56,16 @@ jobs: restore-keys: | ${{ runner.os }}-pip- - - name: Prepare Python for building VOICEVOX engine cache - uses: actions/cache@v2 - id: venv-build-voicevox-cache - with: - path: ${{ env.pythonLocation }} - key: ${{ runner.os }}-libs-build_voicevox-${{ env.PYTHON_VERSION }}-${{ matrix.python_architecture }}-${{ env.VOICEVOX_CORE_VERSION }}-${{ env.VOICEVOX_CORE_SOURCE_VERSION }}-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }} - - - name: Prepare Python venv for licenses.json generation cache - uses: actions/cache@v2 - id: venv-generate-licenses-cache - with: - path: generate_licenses - key: ${{ runner.os }}-venv-libs-generate_licenses-${{ env.PYTHON_VERSION }}-${{ matrix.python_architecture }}-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }} - - - name: Prepare Python venv for licenses.json generation - shell: bash - run: python -m venv generate_licenses - - - name: Install dependencies for licenses.json generation - if: steps.venv-generate-licenses-cache.outputs.cache-hit != 'true' + - name: Install Python dependencies shell: bash run: | - source generate_licenses/bin/activate pip install --upgrade pip setuptools wheel pip install -r requirements-dev.txt - deactivate - name: Generate licenses.json shell: bash run: | - source generate_licenses/bin/activate python generate_licenses.py > licenses.json - deactivate # Download ONNX Runtime - name: Export ONNX Runtime url to calc hash @@ -174,11 +151,6 @@ jobs: ref: ${{ env.VOICEVOX_CORE_SOURCE_VERSION }} path: download/voicevox_core_source - - name: Install dependencies for building VOICEVOX Core Python package - shell: bash - run: | - pip install -r download/voicevox_core_source/requirements.txt - - name: Install VOICEVOX Core Python package shell: bash run: | @@ -201,11 +173,6 @@ jobs: NUMPY_INCLUDE=`python -c "import numpy; print(numpy.get_include())"` CPATH="$NUMPY_INCLUDE:${CPATH:-}" pip install . - - name: Install dependencies for building VOICEVOX engine - shell: bash - run: | - pip install -r requirements-dev.txt - - name: Download PyOpenJTalk dictionary shell: bash run: | @@ -356,7 +323,7 @@ jobs: set -eux rm -r speaker_info cp -r download/resource/character_info speaker_info - + # NOTE: `load: true` may silently fail when the GitHub Actions disk (14GB) is full. # https://docs.github.com/ja/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - name: Create binary build environment with Docker