正在显示
2 个修改的文件
包含
7 行增加
和
2 行删除
| @@ -33,7 +33,7 @@ concurrency: | @@ -33,7 +33,7 @@ concurrency: | ||
| 33 | cancel-in-progress: true | 33 | cancel-in-progress: true |
| 34 | 34 | ||
| 35 | jobs: | 35 | jobs: |
| 36 | - linux: | 36 | + pkg_config: |
| 37 | runs-on: ${{ matrix.os }} | 37 | runs-on: ${{ matrix.os }} |
| 38 | name: ${{ matrix.os }} ${{ matrix.build_type }} ${{ matrix.lib_type }} | 38 | name: ${{ matrix.os }} ${{ matrix.build_type }} ${{ matrix.lib_type }} |
| 39 | strategy: | 39 | strategy: |
| @@ -11,7 +11,7 @@ cd .. | @@ -11,7 +11,7 @@ cd .. | ||
| 11 | mkdir -p build | 11 | mkdir -p build |
| 12 | cd build | 12 | cd build |
| 13 | 13 | ||
| 14 | -if [ ! -f ../build/lib/libsherpa-onnx-jni.dylib ]; then | 14 | +if [[ ! -f ../build/lib/libsherpa-onnx-jni.dylib && ! -f ../build/lib/libsherpa-onnx-jni.so ]]; then |
| 15 | cmake \ | 15 | cmake \ |
| 16 | -DSHERPA_ONNX_ENABLE_PYTHON=OFF \ | 16 | -DSHERPA_ONNX_ENABLE_PYTHON=OFF \ |
| 17 | -DSHERPA_ONNX_ENABLE_TESTS=OFF \ | 17 | -DSHERPA_ONNX_ENABLE_TESTS=OFF \ |
| @@ -34,6 +34,11 @@ if [ ! -f ./sherpa-onnx-streaming-zipformer-en-2023-02-21/tokens.txt ]; then | @@ -34,6 +34,11 @@ if [ ! -f ./sherpa-onnx-streaming-zipformer-en-2023-02-21/tokens.txt ]; then | ||
| 34 | git clone https://huggingface.co/csukuangfj/sherpa-onnx-streaming-zipformer-en-2023-02-21 | 34 | git clone https://huggingface.co/csukuangfj/sherpa-onnx-streaming-zipformer-en-2023-02-21 |
| 35 | fi | 35 | fi |
| 36 | 36 | ||
| 37 | +if [ ! -f ./vits-zh-aishell3/tokens.txt ]; then | ||
| 38 | + git lfs install | ||
| 39 | + git clone https://huggingface.co/csukuangfj/vits-zh-aishell3 | ||
| 40 | +fi | ||
| 41 | + | ||
| 37 | kotlinc-jvm -include-runtime -d main.jar Main.kt WaveReader.kt SherpaOnnx.kt faked-asset-manager.kt Tts.kt | 42 | kotlinc-jvm -include-runtime -d main.jar Main.kt WaveReader.kt SherpaOnnx.kt faked-asset-manager.kt Tts.kt |
| 38 | 43 | ||
| 39 | ls -lh main.jar | 44 | ls -lh main.jar |
-
请 注册 或 登录 后发表评论