Spaces:
Sleeping
Sleeping
ci : use ubuntu-22.04 instead of ubuntu-latest
Browse files
.github/workflows/bindings-go.yml
CHANGED
|
@@ -10,8 +10,8 @@ on:
|
|
| 10 |
- whisper.h
|
| 11 |
|
| 12 |
jobs:
|
| 13 |
-
ubuntu-
|
| 14 |
-
runs-on: ubuntu-
|
| 15 |
steps:
|
| 16 |
- uses: actions/setup-go@v5
|
| 17 |
with:
|
|
|
|
| 10 |
- whisper.h
|
| 11 |
|
| 12 |
jobs:
|
| 13 |
+
ubuntu-22:
|
| 14 |
+
runs-on: ubuntu-22.04
|
| 15 |
steps:
|
| 16 |
- uses: actions/setup-go@v5
|
| 17 |
with:
|
.github/workflows/bindings-ruby.yml
CHANGED
|
@@ -42,8 +42,8 @@ on:
|
|
| 42 |
- examples/dr_wav.h
|
| 43 |
|
| 44 |
jobs:
|
| 45 |
-
ubuntu-
|
| 46 |
-
runs-on: ubuntu-
|
| 47 |
defaults:
|
| 48 |
run:
|
| 49 |
working-directory: bindings/ruby
|
|
|
|
| 42 |
- examples/dr_wav.h
|
| 43 |
|
| 44 |
jobs:
|
| 45 |
+
ubuntu-22:
|
| 46 |
+
runs-on: ubuntu-22.04
|
| 47 |
defaults:
|
| 48 |
run:
|
| 49 |
working-directory: bindings/ruby
|
.github/workflows/build.yml
CHANGED
|
@@ -16,8 +16,8 @@ env:
|
|
| 16 |
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
| 17 |
|
| 18 |
jobs:
|
| 19 |
-
ubuntu-
|
| 20 |
-
runs-on: ubuntu-
|
| 21 |
|
| 22 |
strategy:
|
| 23 |
fail-fast: false
|
|
@@ -42,8 +42,8 @@ jobs:
|
|
| 42 |
cmake -B build
|
| 43 |
cmake --build build --config Release -j $(nproc)'
|
| 44 |
|
| 45 |
-
ubuntu-
|
| 46 |
-
runs-on: ubuntu-
|
| 47 |
|
| 48 |
strategy:
|
| 49 |
fail-fast: false
|
|
@@ -68,8 +68,8 @@ jobs:
|
|
| 68 |
cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
|
| 69 |
cmake --build build --config Release -j $(nproc)'
|
| 70 |
|
| 71 |
-
ubuntu-
|
| 72 |
-
runs-on: ubuntu-
|
| 73 |
|
| 74 |
strategy:
|
| 75 |
fail-fast: false
|
|
@@ -129,8 +129,8 @@ jobs:
|
|
| 129 |
# cmake -B build
|
| 130 |
# cmake --build build --config Release
|
| 131 |
|
| 132 |
-
ubuntu-
|
| 133 |
-
runs-on: ubuntu-
|
| 134 |
|
| 135 |
strategy:
|
| 136 |
fail-fast: false
|
|
@@ -157,8 +157,8 @@ jobs:
|
|
| 157 |
make
|
| 158 |
ctest -L gh --output-on-failure'
|
| 159 |
|
| 160 |
-
ubuntu-
|
| 161 |
-
runs-on: ubuntu-
|
| 162 |
|
| 163 |
strategy:
|
| 164 |
fail-fast: false
|
|
@@ -185,8 +185,8 @@ jobs:
|
|
| 185 |
make
|
| 186 |
ctest -L gh --output-on-failure'
|
| 187 |
|
| 188 |
-
ubuntu-
|
| 189 |
-
runs-on: ubuntu-
|
| 190 |
|
| 191 |
strategy:
|
| 192 |
fail-fast: false
|
|
@@ -213,8 +213,8 @@ jobs:
|
|
| 213 |
make
|
| 214 |
ctest -L gh --output-on-failure'
|
| 215 |
|
| 216 |
-
ubuntu-
|
| 217 |
-
runs-on: ubuntu-
|
| 218 |
|
| 219 |
strategy:
|
| 220 |
fail-fast: false
|
|
@@ -244,8 +244,8 @@ jobs:
|
|
| 244 |
make
|
| 245 |
ctest -L gh --output-on-failure'
|
| 246 |
|
| 247 |
-
ubuntu-
|
| 248 |
-
runs-on: ubuntu-
|
| 249 |
|
| 250 |
strategy:
|
| 251 |
fail-fast: false
|
|
@@ -584,7 +584,7 @@ jobs:
|
|
| 584 |
7z x sdl2.zip
|
| 585 |
echo "SDL2_DIR=${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" | Out-File -FilePath $env:GITHUB_ENV -Append
|
| 586 |
echo "${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" > SDL2_PATH.txt
|
| 587 |
-
|
| 588 |
- name: Configure CMake
|
| 589 |
shell: cmd
|
| 590 |
run: |
|
|
@@ -594,16 +594,16 @@ jobs:
|
|
| 594 |
-DCMAKE_CUDA_ARCHITECTURES=all ^
|
| 595 |
-DWHISPER_SDL2=${{ matrix.sdl2 }} ^
|
| 596 |
-DSDL2_DIR="%SDL2_DIR%"
|
| 597 |
-
|
| 598 |
- name: Build Project
|
| 599 |
shell: cmd
|
| 600 |
run: |
|
| 601 |
cd ./build
|
| 602 |
-
cmake --build . --config ${{ matrix.build }}
|
| 603 |
|
| 604 |
- name: Copy CUDA DLLs
|
| 605 |
run: |
|
| 606 |
-
Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
|
| 607 |
Copy-Item -Destination "build/bin/${{ matrix.build }}"
|
| 608 |
|
| 609 |
- name: Copy SDL2.dll
|
|
@@ -617,7 +617,7 @@ jobs:
|
|
| 617 |
path: build/bin/${{ matrix.build }}
|
| 618 |
|
| 619 |
emscripten:
|
| 620 |
-
runs-on: ubuntu-
|
| 621 |
|
| 622 |
strategy:
|
| 623 |
matrix:
|
|
@@ -684,7 +684,7 @@ jobs:
|
|
| 684 |
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
|
| 685 |
|
| 686 |
android:
|
| 687 |
-
runs-on: ubuntu-
|
| 688 |
|
| 689 |
steps:
|
| 690 |
- name: Clone
|
|
@@ -714,7 +714,7 @@ jobs:
|
|
| 714 |
|
| 715 |
# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
|
| 716 |
# android_java:
|
| 717 |
-
# runs-on: ubuntu-
|
| 718 |
#
|
| 719 |
# steps:
|
| 720 |
# - name: Clone
|
|
@@ -783,7 +783,7 @@ jobs:
|
|
| 783 |
# PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
| 784 |
|
| 785 |
quantize:
|
| 786 |
-
runs-on: ubuntu-
|
| 787 |
|
| 788 |
steps:
|
| 789 |
- name: Clone
|
|
|
|
| 16 |
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
| 17 |
|
| 18 |
jobs:
|
| 19 |
+
ubuntu-22:
|
| 20 |
+
runs-on: ubuntu-22.04
|
| 21 |
|
| 22 |
strategy:
|
| 23 |
fail-fast: false
|
|
|
|
| 42 |
cmake -B build
|
| 43 |
cmake --build build --config Release -j $(nproc)'
|
| 44 |
|
| 45 |
+
ubuntu-22-arm64:
|
| 46 |
+
runs-on: ubuntu-22.04
|
| 47 |
|
| 48 |
strategy:
|
| 49 |
fail-fast: false
|
|
|
|
| 68 |
cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
|
| 69 |
cmake --build build --config Release -j $(nproc)'
|
| 70 |
|
| 71 |
+
ubuntu-22-arm-v7:
|
| 72 |
+
runs-on: ubuntu-22.04
|
| 73 |
|
| 74 |
strategy:
|
| 75 |
fail-fast: false
|
|
|
|
| 129 |
# cmake -B build
|
| 130 |
# cmake --build build --config Release
|
| 131 |
|
| 132 |
+
ubuntu-22-gcc:
|
| 133 |
+
runs-on: ubuntu-22.04
|
| 134 |
|
| 135 |
strategy:
|
| 136 |
fail-fast: false
|
|
|
|
| 157 |
make
|
| 158 |
ctest -L gh --output-on-failure'
|
| 159 |
|
| 160 |
+
ubuntu-22-gcc-arm64:
|
| 161 |
+
runs-on: ubuntu-22.04
|
| 162 |
|
| 163 |
strategy:
|
| 164 |
fail-fast: false
|
|
|
|
| 185 |
make
|
| 186 |
ctest -L gh --output-on-failure'
|
| 187 |
|
| 188 |
+
ubuntu-22-gcc-arm-v7:
|
| 189 |
+
runs-on: ubuntu-22.04
|
| 190 |
|
| 191 |
strategy:
|
| 192 |
fail-fast: false
|
|
|
|
| 213 |
make
|
| 214 |
ctest -L gh --output-on-failure'
|
| 215 |
|
| 216 |
+
ubuntu-22-clang:
|
| 217 |
+
runs-on: ubuntu-22.04
|
| 218 |
|
| 219 |
strategy:
|
| 220 |
fail-fast: false
|
|
|
|
| 244 |
make
|
| 245 |
ctest -L gh --output-on-failure'
|
| 246 |
|
| 247 |
+
ubuntu-22-gcc-sanitized:
|
| 248 |
+
runs-on: ubuntu-22.04
|
| 249 |
|
| 250 |
strategy:
|
| 251 |
fail-fast: false
|
|
|
|
| 584 |
7z x sdl2.zip
|
| 585 |
echo "SDL2_DIR=${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" | Out-File -FilePath $env:GITHUB_ENV -Append
|
| 586 |
echo "${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" > SDL2_PATH.txt
|
| 587 |
+
|
| 588 |
- name: Configure CMake
|
| 589 |
shell: cmd
|
| 590 |
run: |
|
|
|
|
| 594 |
-DCMAKE_CUDA_ARCHITECTURES=all ^
|
| 595 |
-DWHISPER_SDL2=${{ matrix.sdl2 }} ^
|
| 596 |
-DSDL2_DIR="%SDL2_DIR%"
|
| 597 |
+
|
| 598 |
- name: Build Project
|
| 599 |
shell: cmd
|
| 600 |
run: |
|
| 601 |
cd ./build
|
| 602 |
+
cmake --build . --config ${{ matrix.build }}
|
| 603 |
|
| 604 |
- name: Copy CUDA DLLs
|
| 605 |
run: |
|
| 606 |
+
Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
|
| 607 |
Copy-Item -Destination "build/bin/${{ matrix.build }}"
|
| 608 |
|
| 609 |
- name: Copy SDL2.dll
|
|
|
|
| 617 |
path: build/bin/${{ matrix.build }}
|
| 618 |
|
| 619 |
emscripten:
|
| 620 |
+
runs-on: ubuntu-22.04
|
| 621 |
|
| 622 |
strategy:
|
| 623 |
matrix:
|
|
|
|
| 684 |
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
|
| 685 |
|
| 686 |
android:
|
| 687 |
+
runs-on: ubuntu-22.04
|
| 688 |
|
| 689 |
steps:
|
| 690 |
- name: Clone
|
|
|
|
| 714 |
|
| 715 |
# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
|
| 716 |
# android_java:
|
| 717 |
+
# runs-on: ubuntu-22.04
|
| 718 |
#
|
| 719 |
# steps:
|
| 720 |
# - name: Clone
|
|
|
|
| 783 |
# PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
| 784 |
|
| 785 |
quantize:
|
| 786 |
+
runs-on: ubuntu-22.04
|
| 787 |
|
| 788 |
steps:
|
| 789 |
- name: Clone
|
.github/workflows/docker.yml
CHANGED
|
@@ -11,7 +11,7 @@ jobs:
|
|
| 11 |
name: Push Docker image to Docker Hub
|
| 12 |
if: github.event.pull_request.draft == false
|
| 13 |
|
| 14 |
-
runs-on: ubuntu-
|
| 15 |
env:
|
| 16 |
COMMIT_SHA: ${{ github.sha }}
|
| 17 |
strategy:
|
|
|
|
| 11 |
name: Push Docker image to Docker Hub
|
| 12 |
if: github.event.pull_request.draft == false
|
| 13 |
|
| 14 |
+
runs-on: ubuntu-22.04
|
| 15 |
env:
|
| 16 |
COMMIT_SHA: ${{ github.sha }}
|
| 17 |
strategy:
|
.github/workflows/examples.yml
CHANGED
|
@@ -10,8 +10,8 @@ on:
|
|
| 10 |
- whisper.h
|
| 11 |
|
| 12 |
jobs:
|
| 13 |
-
addon_node-ubuntu-
|
| 14 |
-
runs-on: ubuntu-
|
| 15 |
strategy:
|
| 16 |
matrix:
|
| 17 |
node-version: [ 16.x, 18.x ]
|
|
|
|
| 10 |
- whisper.h
|
| 11 |
|
| 12 |
jobs:
|
| 13 |
+
addon_node-ubuntu-22:
|
| 14 |
+
runs-on: ubuntu-22.04
|
| 15 |
strategy:
|
| 16 |
matrix:
|
| 17 |
node-version: [ 16.x, 18.x ]
|