From 69339af2d104802f3f201fd419163defba52890e Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 25 Sep 2024 10:03:34 +0300 Subject: [PATCH] ci : disable failing CUDA and Java builds --- .github/workflows/build.yml | 49 ++++++++++++++++++------------------ .github/workflows/docker.yml | 4 ++- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4077ad0..bdd45a99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -586,30 +586,31 @@ jobs: cd whisper/examples/whisper.android ./gradlew assembleRelease --no-daemon -PGGML_HOME=$PATH_TO_GGML - android_java: - runs-on: ubuntu-latest - - 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: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602 +# android_java: +# runs-on: ubuntu-latest +# +# 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: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c5a80f26..08f6495c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,7 +18,9 @@ jobs: matrix: config: - { tag: "main", dockerfile: ".devops/main.Dockerfile", platform: "linux/amd64,linux/arm64" } - - { tag: "main-cuda", dockerfile: ".devops/main-cuda.Dockerfile", platform: "linux/amd64" } + #TODO: the cuda image keeps failing - disable for now + # https://github.com/ggerganov/whisper.cpp/actions/runs/11019444428/job/30602020339 + #- { tag: "main-cuda", dockerfile: ".devops/main-cuda.Dockerfile", platform: "linux/amd64" } steps: - name: Check out the repo