@@ -564,35 +564,34 @@ jobs:
564
564
- name : Build swiftui example
565
565
run : xcodebuild -project examples/whisper.swiftui/whisper.swiftui.xcodeproj -scheme WhisperCppDemo -configuration ${{ matrix.build }} -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination 'generic/platform=iOS' build
566
566
567
- # TODO: update android build and re-enable when it works
568
- # android:
569
- # runs-on: ubuntu-latest
570
- #
571
- # steps:
572
- # - name: Clone
573
- # uses: actions/checkout@v4
574
- # with:
575
- # path: whisper
576
- #
577
- # - name: Install Java
578
- # uses: actions/setup-java@v4
579
- # with:
580
- # distribution: zulu
581
- # java-version: 21
582
- #
583
- # - name: Setup Android SDK
584
- # uses: android-actions/setup-android@v3
585
- #
586
- # - name: Build
587
- # run: |
588
- # cd whisper/examples/whisper.android
589
- # ./gradlew assembleRelease --no-daemon
590
- #
591
- # - name: Build with external ggml
592
- # run: |
593
- # export PATH_TO_GGML=$PWD/ggml
594
- # cd whisper/examples/whisper.android
595
- # ./gradlew assembleRelease --no-daemon
567
+ android :
568
+ runs-on : ubuntu-latest
569
+
570
+ steps :
571
+ - name : Clone
572
+ uses : actions/checkout@v4
573
+ with :
574
+ path : whisper
575
+
576
+ - name : Install Java
577
+ uses : actions/setup-java@v4
578
+ with :
579
+ distribution : zulu
580
+ java-version : 21
581
+
582
+ - name : Setup Android SDK
583
+ uses : android-actions/setup-android@v3
584
+
585
+ - name : Build
586
+ run : |
587
+ cd whisper/examples/whisper.android
588
+ ./gradlew assembleRelease --no-daemon
589
+
590
+ - name : Build with external ggml
591
+ run : |
592
+ export PATH_TO_GGML=$PWD/ggml
593
+ cd whisper/examples/whisper.android
594
+ ./gradlew assembleRelease --no-daemon
596
595
597
596
# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
598
597
# android_java:
0 commit comments