Skip to content

Commit 2344609

Browse files
committed
ci : use ubuntu-22.04 instead of ubuntu-latest
1 parent b8ab126 commit 2344609

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

.github/workflows/bindings-go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
- whisper.h
1111

1212
jobs:
13-
ubuntu-latest:
14-
runs-on: ubuntu-latest
13+
ubuntu-22:
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: actions/setup-go@v5
1717
with:

.github/workflows/bindings-ruby.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ on:
4242
- examples/dr_wav.h
4343

4444
jobs:
45-
ubuntu-latest:
46-
runs-on: ubuntu-latest
45+
ubuntu-22:
46+
runs-on: ubuntu-22.04
4747
defaults:
4848
run:
4949
working-directory: bindings/ruby

.github/workflows/build.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ env:
1616
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
1717

1818
jobs:
19-
ubuntu-latest:
20-
runs-on: ubuntu-latest
19+
ubuntu-22:
20+
runs-on: ubuntu-22.04
2121

2222
strategy:
2323
fail-fast: false
@@ -42,8 +42,8 @@ jobs:
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
@@ -68,8 +68,8 @@ jobs:
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
@@ -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
@@ -157,8 +157,8 @@ jobs:
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
@@ -185,8 +185,8 @@ jobs:
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
@@ -213,8 +213,8 @@ jobs:
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
@@ -244,8 +244,8 @@ jobs:
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
@@ -584,7 +584,7 @@ jobs:
584584
7z x sdl2.zip
585585
echo "SDL2_DIR=${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" | Out-File -FilePath $env:GITHUB_ENV -Append
586586
echo "${{ github.workspace }}\SDL2-${{ matrix.sdl2_ver }}\cmake" > SDL2_PATH.txt
587-
587+
588588
- name: Configure CMake
589589
shell: cmd
590590
run: |
@@ -594,16 +594,16 @@ jobs:
594594
-DCMAKE_CUDA_ARCHITECTURES=all ^
595595
-DWHISPER_SDL2=${{ matrix.sdl2 }} ^
596596
-DSDL2_DIR="%SDL2_DIR%"
597-
597+
598598
- name: Build Project
599599
shell: cmd
600600
run: |
601601
cd ./build
602-
cmake --build . --config ${{ matrix.build }}
602+
cmake --build . --config ${{ matrix.build }}
603603
604604
- name: Copy CUDA DLLs
605605
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" |
607607
Copy-Item -Destination "build/bin/${{ matrix.build }}"
608608
609609
- name: Copy SDL2.dll
@@ -617,7 +617,7 @@ jobs:
617617
path: build/bin/${{ matrix.build }}
618618

619619
emscripten:
620-
runs-on: ubuntu-latest
620+
runs-on: ubuntu-22.04
621621

622622
strategy:
623623
matrix:
@@ -684,7 +684,7 @@ jobs:
684684
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
685685

686686
android:
687-
runs-on: ubuntu-latest
687+
runs-on: ubuntu-22.04
688688

689689
steps:
690690
- name: Clone
@@ -714,7 +714,7 @@ jobs:
714714
715715
# TODO: disable because of following fail: https://github.com/ggerganov/whisper.cpp/actions/runs/11019444420/job/30627193602
716716
# android_java:
717-
# runs-on: ubuntu-latest
717+
# runs-on: ubuntu-22.04
718718
#
719719
# steps:
720720
# - name: Clone
@@ -783,7 +783,7 @@ jobs:
783783
# PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
784784

785785
quantize:
786-
runs-on: ubuntu-latest
786+
runs-on: ubuntu-22.04
787787

788788
steps:
789789
- name: Clone

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Push Docker image to Docker Hub
1212
if: github.event.pull_request.draft == false
1313

14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
env:
1616
COMMIT_SHA: ${{ github.sha }}
1717
strategy:

.github/workflows/examples.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
- whisper.h
1111

1212
jobs:
13-
addon_node-ubuntu-latest:
14-
runs-on: ubuntu-latest
13+
addon_node-ubuntu-22:
14+
runs-on: ubuntu-22.04
1515
strategy:
1616
matrix:
1717
node-version: [ 16.x, 18.x ]

0 commit comments

Comments
 (0)