Fix CI tests for Python and JNI. (#554)
This commit is contained in:
10
kotlin-api-examples/faked-log.kt
Normal file
10
kotlin-api-examples/faked-log.kt
Normal file
@@ -0,0 +1,10 @@
|
||||
package android.util
|
||||
|
||||
class Log {
|
||||
companion object {
|
||||
fun i(tag: String, msg: String) {
|
||||
println("$tag, $msg")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ if [ ! -f ./vits-piper-en_US-amy-low/en_US-amy-low.onnx ]; then
|
||||
rm vits-piper-en_US-amy-low.tar.bz2
|
||||
fi
|
||||
|
||||
kotlinc-jvm -include-runtime -d main.jar Main.kt WaveReader.kt SherpaOnnx.kt faked-asset-manager.kt Tts.kt Speaker.kt
|
||||
kotlinc-jvm -include-runtime -d main.jar Main.kt WaveReader.kt SherpaOnnx.kt faked-asset-manager.kt Tts.kt Speaker.kt faked-log.kt
|
||||
|
||||
ls -lh main.jar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user