From: Daniel Bevenius Date: Mon, 31 Mar 2025 13:14:24 +0000 (+0200) Subject: ci : re-enable android_java job (#2958) X-Git-Tag: upstream/1.7.5~22 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7a2e39750aea4f714def6ba6ad0d387a6f6f8c34;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : re-enable android_java job (#2958) 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. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d840a463..49b181a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -969,31 +969,30 @@ jobs: cd whisper/examples/whisper.android ./gradlew assembleRelease --no-daemon -# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602 -# android_java: -# runs-on: ubuntu-22.04 -# -# steps: -# - name: Clone -# uses: actions/checkout@v4 -# -# - name: set up JDK 11 -# uses: actions/setup-java@v4 -# with: -# java-version: '11' -# distribution: 'temurin' -# cache: gradle -# -# - name: Setup Android SDK -# uses: android-actions/setup-android@v3 -# with: -# cmdline-tools-version: 9.0 -# -# - name: Build -# run: | -# cd examples/whisper.android.java -# chmod +x ./gradlew -# ./gradlew assembleRelease + android_java: + runs-on: ubuntu-22.04 + + steps: + - name: Clone + uses: actions/checkout@v4 + + - name: set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + + - name: Setup Android SDK + uses: android-actions/setup-android@v3 + with: + cmdline-tools-version: 9.0 + + - name: Build + run: | + cd examples/whisper.android.java + chmod +x ./gradlew + ./gradlew assembleRelease # TODO: disabled because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/9686220096/job/26735899598 # java: