ci : use local ggml in Android build (#2567)

This commit is contained in:
Georgi Gerganov 2024-11-16 20:45:41 +02:00 committed by GitHub
parent bb12cd9b77
commit 01d3bd7d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -564,12 +564,6 @@ jobs:
with: with:
path: whisper path: whisper
- name: Clone
uses: actions/checkout@v4
with:
repository: ggerganov/ggml
path: ggml
- name: Install Java - name: Install Java
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
@ -588,7 +582,7 @@ jobs:
run: | run: |
export PATH_TO_GGML=$PWD/ggml export PATH_TO_GGML=$PWD/ggml
cd whisper/examples/whisper.android cd whisper/examples/whisper.android
./gradlew assembleRelease --no-daemon -PGGML_HOME=$PATH_TO_GGML ./gradlew assembleRelease --no-daemon
# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602 # TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
# android_java: # android_java: