Skip to content

Commit baaa5aa

Browse files
Update windows-2019 to windows-2022
1 parent ea1431b commit baaa5aa

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -839,8 +839,8 @@ jobs:
839839
-DGGML_CUDA=ON
840840
cmake --build build
841841
842-
windows-2019-cmake-cuda:
843-
runs-on: windows-2019
842+
windows-2022-cmake-cuda:
843+
runs-on: windows-2022
844844

845845
strategy:
846846
matrix:
@@ -878,11 +878,12 @@ jobs:
878878
env:
879879
CURL_PATH: ${{ steps.get_libcurl.outputs.curl_path }}
880880
run: |
881-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
881+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
882882
cmake -S . -B build -G "Ninja Multi-Config" ^
883883
-DLLAMA_BUILD_SERVER=ON ^
884884
-DGGML_NATIVE=OFF ^
885885
-DGGML_BACKEND_DL=ON ^
886+
-DBUILD_SHARED_LIBS=ON ^
886887
-DGGML_CPU_ALL_VARIANTS=ON ^
887888
-DGGML_CUDA=ON ^
888889
-DGGML_RPC=ON ^

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ jobs:
373373
name: llama-bin-win-${{ matrix.backend }}-${{ matrix.arch }}.zip
374374

375375
windows-cuda:
376-
runs-on: windows-2019
376+
runs-on: windows-2022
377377

378378
strategy:
379379
matrix:
@@ -405,9 +405,10 @@ jobs:
405405
id: cmake_build
406406
shell: cmd
407407
run: |
408-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
408+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
409409
cmake -S . -B build -G "Ninja Multi-Config" ^
410410
-DGGML_BACKEND_DL=ON ^
411+
-DBUILD_SHARED_LIBS=ON ^
411412
-DGGML_NATIVE=OFF ^
412413
-DGGML_CPU=OFF ^
413414
-DGGML_CUDA=ON ^

.github/workflows/server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
181181
182182
server-windows:
183-
runs-on: windows-2019
183+
runs-on: windows-2022
184184

185185
steps:
186186
- name: Clone

0 commit comments

Comments
 (0)