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