closes #3552
This commit is contained in:
Jacob Heider 2023-10-06 17:52:59 -04:00 committed by Jacob Heider
parent d950bb4c58
commit 2629971863

View file

@ -21,14 +21,20 @@ dependencies:
taku910.github.io/mecab: '*' taku910.github.io/mecab: '*'
build: build:
script: |
python_venv=$(which python-venv.py)
env python $python_venv {{prefix}}/bin/tts
cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server
cp {{prefix}}/bin/tts {{prefix}}/bin/ttx
dependencies: dependencies:
pip.pypa.io: '*' pip.pypa.io: '*'
git-scm.org: '*' git-scm.org: '*'
script:
- python-venv.py {{prefix}}/bin/tts
- run: |
cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server
cp {{prefix}}/bin/tts {{prefix}}/bin/ttx
working-directory: ${{prefix}}/bin
test: | # FIXME: the nvidia package is over 3GB, and OOMs the builder when trying
tts -h # to `tar Jcf` it. We likely need this back, but it prevents building at present.
- run: rm -r nvidia
if: linux
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
test: tts -h