danbev commited on
Commit
e7fbecf
·
unverified ·
1 Parent(s): 69804b5

ci : re-enable android_java job (#2958)

Browse files

This commit re-enables the android_java job in the CI workflow. The job
was disabled because of a failing build.

The motivation for this is that Commit
226d344f565ea6140e7c6a583bc300a64454af58 ("whisper.android.java : update
build with ggml source changes") addressed build issues and it should
now be possible to re-enable this job.

Files changed (1) hide show
  1. .github/workflows/build.yml +24 -25
.github/workflows/build.yml CHANGED
@@ -969,31 +969,30 @@ jobs:
969
  cd whisper/examples/whisper.android
970
  ./gradlew assembleRelease --no-daemon
971
 
972
- # TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
973
- # android_java:
974
- # runs-on: ubuntu-22.04
975
- #
976
- # steps:
977
- # - name: Clone
978
- # uses: actions/checkout@v4
979
- #
980
- # - name: set up JDK 11
981
- # uses: actions/setup-java@v4
982
- # with:
983
- # java-version: '11'
984
- # distribution: 'temurin'
985
- # cache: gradle
986
- #
987
- # - name: Setup Android SDK
988
- # uses: android-actions/setup-android@v3
989
- # with:
990
- # cmdline-tools-version: 9.0
991
- #
992
- # - name: Build
993
- # run: |
994
- # cd examples/whisper.android.java
995
- # chmod +x ./gradlew
996
- # ./gradlew assembleRelease
997
 
998
  # TODO: disabled because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/9686220096/job/26735899598
999
  # java:
 
969
  cd whisper/examples/whisper.android
970
  ./gradlew assembleRelease --no-daemon
971
 
972
+ android_java:
973
+ runs-on: ubuntu-22.04
974
+
975
+ steps:
976
+ - name: Clone
977
+ uses: actions/checkout@v4
978
+
979
+ - name: set up JDK 11
980
+ uses: actions/setup-java@v4
981
+ with:
982
+ java-version: '11'
983
+ distribution: 'temurin'
984
+ cache: gradle
985
+
986
+ - name: Setup Android SDK
987
+ uses: android-actions/setup-android@v3
988
+ with:
989
+ cmdline-tools-version: 9.0
990
+
991
+ - name: Build
992
+ run: |
993
+ cd examples/whisper.android.java
994
+ chmod +x ./gradlew
995
+ ./gradlew assembleRelease
 
996
 
997
  # TODO: disabled because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/9686220096/job/26735899598
998
  # java: