Skip to content

Commit

Permalink
Merge bebe371 into 2d72520
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Jan 9, 2023
2 parents 2d72520 + bebe371 commit bfb819d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/voicevox_engine
PYTHON_VERSION: "3.8.10"
VOICEVOX_RESOURCE_VERSION: "0.13.3"
VOICEVOX_CORE_VERSION: "0.13.3"
VOICEVOX_CORE_VERSION: "0.14.0-preview.3"
VOICEVOX_ENGINE_VERSION:
|- # releaseタグ名か、workflow_dispatchでのバージョン名か、latestが入る
${{ github.event.release.tag_name || github.event.inputs.version || 'latest' }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/voicevox_engine
PYTHON_VERSION: "3.8.10"
VOICEVOX_RESOURCE_VERSION: "0.13.3"
VOICEVOX_CORE_VERSION: "0.14.0-preview.2"
VOICEVOX_CORE_VERSION: "0.14.0-preview.3"
VOICEVOX_ENGINE_VERSION:
|- # releaseタグ名か、workflow_dispatchでのバージョン名か、latestが入る
${{ github.event.release.tag_name || github.event.inputs.version || 'latest' }}
Expand Down Expand Up @@ -372,6 +372,11 @@ jobs:
rm -rf download/${{ env.VOICEVOX_CORE_ASSET_NAME }}
rm download/${{ env.VOICEVOX_CORE_ASSET_NAME }}.zip
- name: Copy VOICEVOX Core Models
shell: bash
run: |
cp -r download/core/model ./
- name: Generate licenses.json
shell: bash
run: |
Expand Down
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EOF

# assert VOICEVOX_CORE_VERSION >= 0.11.0 (ONNX)
ARG VOICEVOX_CORE_ASSET_PREFIX=voicevox_core-linux-x64-cpu
ARG VOICEVOX_CORE_VERSION=0.13.3
ARG VOICEVOX_CORE_VERSION=0.14.0-preview.3
RUN <<EOF
set -eux

Expand All @@ -35,14 +35,8 @@ RUN <<EOF
rm -rf $VOICEVOX_CORE_ASSET_NAME
rm "./${VOICEVOX_CORE_ASSET_NAME}.zip"

# Move Core Library to /opt/voicevox_core/
mkdir /opt/voicevox_core
mv "./core/libcore.so" /opt/voicevox_core/

# Move documents to /opt/voicevox_core/
mv ./core/VERSION /opt/voicevox_core/

rm -rf ./core
# Move Core to /opt/voicevox_core/
mv ./core/ /opt/voicevox_core/

# Add /opt/voicevox_core to dynamic library search path
echo "/opt/voicevox_core" > /etc/ld.so.conf.d/voicevox_core.conf
Expand Down
1 change: 1 addition & 0 deletions run.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ datas = [
('presets.yaml', '.'),
('default_setting.yml', '.'),
('ui_template', 'ui_template'),
('model', 'model'),
]
datas += collect_data_files('pyopenjtalk')

Expand Down

0 comments on commit bfb819d

Please sign in to comment.