ci : disable failing CUDA and Java builds

This commit is contained in:
Georgi Gerganov 2024-09-25 10:03:34 +03:00
parent 0d2e2aed80
commit 69339af2d1
No known key found for this signature in database
GPG Key ID: BF970631944C16B7
2 changed files with 28 additions and 25 deletions

View File

@ -586,30 +586,31 @@ jobs:
cd whisper/examples/whisper.android cd whisper/examples/whisper.android
./gradlew assembleRelease --no-daemon -PGGML_HOME=$PATH_TO_GGML ./gradlew assembleRelease --no-daemon -PGGML_HOME=$PATH_TO_GGML
android_java: # TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
runs-on: ubuntu-latest # android_java:
# runs-on: ubuntu-latest
steps: #
- name: Clone # steps:
uses: actions/checkout@v4 # - name: Clone
# uses: actions/checkout@v4
- name: set up JDK 11 #
uses: actions/setup-java@v4 # - name: set up JDK 11
with: # uses: actions/setup-java@v4
java-version: '11' # with:
distribution: 'temurin' # java-version: '11'
cache: gradle # distribution: 'temurin'
# cache: gradle
- name: Setup Android SDK #
uses: android-actions/setup-android@v3 # - name: Setup Android SDK
with: # uses: android-actions/setup-android@v3
cmdline-tools-version: 9.0 # with:
# cmdline-tools-version: 9.0
- name: Build #
run: | # - name: Build
cd examples/whisper.android.java # run: |
chmod +x ./gradlew # cd examples/whisper.android.java
./gradlew assembleRelease # chmod +x ./gradlew
# ./gradlew assembleRelease
# TODO: disabled because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/9686220096/job/26735899598 # TODO: disabled because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/9686220096/job/26735899598
# java: # java:

View File

@ -18,7 +18,9 @@ jobs:
matrix: matrix:
config: config:
- { tag: "main", dockerfile: ".devops/main.Dockerfile", platform: "linux/amd64,linux/arm64" } - { 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: steps:
- name: Check out the repo - name: Check out the repo