1616 VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
1717
1818jobs :
19- ubuntu-latest :
20- runs-on : ubuntu-latest
19+ ubuntu-22 :
20+ runs-on : ubuntu-22.04
2121
2222 strategy :
2323 fail-fast : false
@@ -38,12 +38,12 @@ jobs:
3838 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
3939 set -e
4040 apt update
41- apt install -y build-essential libsdl2-dev cmake
41+ apt install -y build-essential libsdl2-dev cmake git
4242 cmake -B build
4343 cmake --build build --config Release -j $(nproc)'
4444
45- ubuntu-latest -arm64 :
46- runs-on : ubuntu-latest
45+ ubuntu-22 -arm64 :
46+ runs-on : ubuntu-22.04
4747
4848 strategy :
4949 fail-fast : false
@@ -64,12 +64,12 @@ jobs:
6464 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
6565 set -e
6666 apt update
67- apt install -y build-essential libsdl2-dev cmake
67+ apt install -y build-essential libsdl2-dev cmake git
6868 cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
6969 cmake --build build --config Release -j $(nproc)'
7070
71- ubuntu-latest -arm-v7 :
72- runs-on : ubuntu-latest
71+ ubuntu-22 -arm-v7 :
72+ runs-on : ubuntu-22.04
7373
7474 strategy :
7575 fail-fast : false
9090 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
9191 set -e
9292 apt update
93- apt install -y build-essential libsdl2-dev cmake
93+ apt install -y build-essential libsdl2-dev cmake git
9494 cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv7-a+fp
9595 cmake --build build --config Release -j $(nproc)'
9696
@@ -129,8 +129,8 @@ jobs:
129129# cmake -B build
130130# cmake --build build --config Release
131131
132- ubuntu-latest -gcc :
133- runs-on : ubuntu-latest
132+ ubuntu-22 -gcc :
133+ runs-on : ubuntu-22.04
134134
135135 strategy :
136136 fail-fast : false
@@ -152,13 +152,13 @@ jobs:
152152 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
153153 set -e
154154 apt update
155- apt install -y build-essential cmake libsdl2-dev
155+ apt install -y build-essential cmake libsdl2-dev git
156156 cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }}
157157 make
158158 ctest -L gh --output-on-failure'
159159
160- ubuntu-latest -gcc-arm64 :
161- runs-on : ubuntu-latest
160+ ubuntu-22 -gcc-arm64 :
161+ runs-on : ubuntu-22.04
162162
163163 strategy :
164164 fail-fast : false
@@ -180,13 +180,13 @@ jobs:
180180 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
181181 set -e
182182 apt update
183- apt install -y build-essential cmake libsdl2-dev
183+ apt install -y build-essential cmake libsdl2-dev git
184184 cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
185185 make
186186 ctest -L gh --output-on-failure'
187187
188- ubuntu-latest -gcc-arm-v7 :
189- runs-on : ubuntu-latest
188+ ubuntu-22 -gcc-arm-v7 :
189+ runs-on : ubuntu-22.04
190190
191191 strategy :
192192 fail-fast : false
@@ -208,13 +208,13 @@ jobs:
208208 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
209209 set -e
210210 apt update
211- apt install -y build-essential cmake libsdl2-dev
211+ apt install -y build-essential cmake libsdl2-dev git
212212 cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv7-a+fp
213213 make
214214 ctest -L gh --output-on-failure'
215215
216- ubuntu-latest -clang :
217- runs-on : ubuntu-latest
216+ ubuntu-22 -clang :
217+ runs-on : ubuntu-22.04
218218
219219 strategy :
220220 fail-fast : false
@@ -239,13 +239,13 @@ jobs:
239239 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
240240 set -e
241241 apt update
242- apt install -y clang build-essential cmake libsdl2-dev
242+ apt install -y clang build-essential cmake libsdl2-dev git
243243 cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
244244 make
245245 ctest -L gh --output-on-failure'
246246
247- ubuntu-latest -gcc-sanitized :
248- runs-on : ubuntu-latest
247+ ubuntu-22 -gcc-sanitized :
248+ runs-on : ubuntu-22.04
249249
250250 strategy :
251251 fail-fast : false
@@ -267,7 +267,7 @@ jobs:
267267 -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
268268 set -e
269269 apt update
270- apt install -y build-essential cmake
270+ apt install -y build-essential cmake git
271271 cmake . -DCMAKE_BUILD_TYPE=Debug -DWHISPER_SANITIZE_${{ matrix.sanitizer }}=ON
272272 make
273273 ctest -L gh --output-on-failure'
@@ -302,12 +302,12 @@ jobs:
302302 shell : bash
303303 run : |
304304 sudo apt update
305- sudo apt install intel-oneapi-compiler-dpcpp-cpp
305+ sudo apt install intel-oneapi-compiler-dpcpp-cpp git
306306
307307 - name : install oneAPI MKL library
308308 shell : bash
309309 run : |
310- sudo apt install intel-oneapi-mkl-devel
310+ sudo apt install intel-oneapi-mkl-devel git
311311
312312 - name : Clone
313313 id : checkout
@@ -352,7 +352,7 @@ jobs:
352352 shell : bash
353353 run : |
354354 sudo apt update
355- sudo apt install intel-oneapi-compiler-dpcpp-cpp
355+ sudo apt install intel-oneapi-compiler-dpcpp-cpp git
356356
357357 - name : install oneAPI MKL library
358358 shell : bash
@@ -393,6 +393,7 @@ jobs:
393393 msystem : ${{matrix.sys}}
394394 install : >-
395395 base-devel
396+ git
396397 mingw-w64-${{matrix.env}}-toolchain
397398 mingw-w64-${{matrix.env}}-cmake
398399 mingw-w64-${{matrix.env}}-SDL2
@@ -584,7 +585,7 @@ jobs:
584585 7z x sdl2.zip
585586 echo "SDL2_DIR=${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" | Out-File -FilePath $env:GITHUB_ENV -Append
586587 echo "${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" > SDL2_PATH.txt
587-
588+
588589 - name : Configure CMake
589590 shell : cmd
590591 run : |
@@ -594,16 +595,16 @@ jobs:
594595 -DCMAKE_CUDA_ARCHITECTURES=all ^
595596 -DWHISPER_SDL2=${{ matrix.sdl2 }} ^
596597 -DSDL2_DIR="%SDL2_DIR%"
597-
598+
598599 - name : Build Project
599600 shell : cmd
600601 run : |
601602 cd ./build
602- cmake --build . --config ${{ matrix.build }}
603+ cmake --build . --config ${{ matrix.build }}
603604
604605 - name : Copy CUDA DLLs
605606 run : |
606- Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
607+ Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
607608 Copy-Item -Destination "build/bin/${{ matrix.build }}"
608609
609610 - name : Copy SDL2.dll
@@ -617,7 +618,7 @@ jobs:
617618 path : build/bin/${{ matrix.build }}
618619
619620 emscripten :
620- runs-on : ubuntu-latest
621+ runs-on : ubuntu-22.04
621622
622623 strategy :
623624 matrix :
@@ -684,7 +685,7 @@ jobs:
684685 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
685686
686687 android :
687- runs-on : ubuntu-latest
688+ runs-on : ubuntu-22.04
688689
689690 steps :
690691 - name : Clone
@@ -714,7 +715,7 @@ jobs:
714715
715716# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
716717# android_java:
717- # runs-on: ubuntu-latest
718+ # runs-on: ubuntu-22.04
718719#
719720# steps:
720721# - name: Clone
@@ -783,7 +784,7 @@ jobs:
783784# PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
784785
785786 quantize :
786- runs-on : ubuntu-latest
787+ runs-on : ubuntu-22.04
787788
788789 steps :
789790 - name : Clone
0 commit comments