@@ -34,11 +34,11 @@ jobs:
3434 arch : arm64
3535 name : linux-gpu
3636 make : LLAMA="-DGGML_NATIVE=OFF -DGGML_CPU=ON -DGGML_VULKAN=ON -DGGML_OPENCL=ON"
37- - os : windows-latest
37+ - os : windows-2022
3838 arch : x86_64
3939 name : windows-cpu
4040 make : LLAMA="-DGGML_NATIVE=OFF -DGGML_CPU=ON -DGGML_AVX2=ON"
41- - os : windows-latest
41+ - os : windows-2022
4242 arch : x86_64
4343 name : windows-gpu
4444 make : LLAMA="-DGGML_NATIVE=OFF -DGGML_CPU=ON -DGGML_VULKAN=ON -DGGML_OPENCL=ON"
@@ -101,7 +101,7 @@ jobs:
101101 echo "basekit-url=$BASEKIT_URL_HASH" >> $GITHUB_OUTPUT
102102
103103 - uses : msys2/setup-msys2@v2.27.0
104- if : matrix.os == 'windows-latest '
104+ if : matrix.os == 'windows-2022 '
105105 with :
106106 msystem : mingw64
107107 install : >-
@@ -182,45 +182,45 @@ jobs:
182182 key : miniaudio-${{ matrix.name }}-${{ matrix.os }}-${{ matrix.arch }}-${{ steps.submodule-hashes.outputs.miniaudio }}-${{ hashFiles('modules/miniaudio/**') }}-${{ steps.submodule-hashes.outputs.make }}-${{ steps.submodule-hashes.outputs.makefile }}
183183
184184 - name : windows build llama.cpp
185- if : matrix.os == 'windows-latest ' && steps.cache-llama.outputs.cache-hit != 'true'
185+ if : matrix.os == 'windows-2022 ' && steps.cache-llama.outputs.cache-hit != 'true'
186186 shell : msys2 {0}
187187 run : make build/llama.cpp.stamp ${{ matrix.make && matrix.make || ''}}
188188 env :
189189 VULKAN_SDK : " C:/msys64/mingw64"
190190
191191 - name : unix build llama.cpp
192- if : matrix.os != 'windows-latest ' && steps.cache-llama.outputs.cache-hit != 'true'
192+ if : matrix.os != 'windows-2022 ' && steps.cache-llama.outputs.cache-hit != 'true'
193193 run : make build/llama.cpp.stamp ${{ matrix.make && matrix.make || ''}}
194194
195195 - name : windows build whisper.cpp
196- if : matrix.os == 'windows-latest ' && steps.cache-whisper.outputs.cache-hit != 'true'
196+ if : matrix.os == 'windows-2022 ' && steps.cache-whisper.outputs.cache-hit != 'true'
197197 shell : msys2 {0}
198198 run : make build/whisper.cpp.stamp ${{ matrix.make && matrix.make || ''}}
199199 env :
200200 VULKAN_SDK : " C:/msys64/mingw64"
201201
202202 - name : unix build whisper.cpp
203- if : matrix.os != 'windows-latest ' && steps.cache-whisper.outputs.cache-hit != 'true'
203+ if : matrix.os != 'windows-2022 ' && steps.cache-whisper.outputs.cache-hit != 'true'
204204 run : make build/whisper.cpp.stamp ${{ matrix.make && matrix.make || ''}}
205205
206206 - name : windows build miniaudio
207- if : matrix.os == 'windows-latest ' && steps.cache-miniaudio.outputs.cache-hit != 'true'
207+ if : matrix.os == 'windows-2022 ' && steps.cache-miniaudio.outputs.cache-hit != 'true'
208208 shell : msys2 {0}
209209 run : make build/miniaudio.stamp ${{ matrix.make && matrix.make || ''}}
210210
211211 - name : unix build miniaudio
212- if : matrix.os != 'windows-latest ' && steps.cache-miniaudio.outputs.cache-hit != 'true'
212+ if : matrix.os != 'windows-2022 ' && steps.cache-miniaudio.outputs.cache-hit != 'true'
213213 run : make build/miniaudio.stamp ${{ matrix.make && matrix.make || ''}}
214214
215215 - name : windows build sqlite-ai
216- if : matrix.os == 'windows-latest '
216+ if : matrix.os == 'windows-2022 '
217217 run : make extension ${{ matrix.make && matrix.make || ''}}
218218 shell : msys2 {0}
219219 env :
220220 VULKAN_SDK : " C:/msys64/mingw64"
221221
222222 - name : unix build sqlite-ai
223- if : matrix.os != 'windows-latest '
223+ if : matrix.os != 'windows-2022 '
224224 run : make extension ${{ matrix.make && matrix.make || ''}}
225225
226226 - name : macos install sqlite3 without SQLITE_OMIT_LOAD_EXTENSION
@@ -272,7 +272,7 @@ jobs:
272272 adb shell "sh /data/local/tmp/commands.sh"
273273
274274 - name : windows test sqlite-ai
275- if : matrix.os == 'windows-latest '
275+ if : matrix.os == 'windows-2022 '
276276 run : make test ${{ matrix.make && matrix.make || ''}}
277277 shell : msys2 {0}
278278 env :
0 commit comments