]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : remove cuda 11.7 releases, switch runner to windows 2022 (#13997)
authorDiego Devesa <redacted>
Wed, 4 Jun 2025 13:37:40 +0000 (06:37 -0700)
committerGitHub <redacted>
Wed, 4 Jun 2025 13:37:40 +0000 (15:37 +0200)
.github/workflows/build.yml
.github/workflows/release.yml
.github/workflows/server.yml

index ee76d1799e6f474a19f65cdbe2e218c290d50b79..867a589ce16485c33d8d25596e6a44a1bde2662a 100644 (file)
@@ -839,12 +839,12 @@ jobs:
               -DGGML_CUDA=ON
             cmake --build build
 
-  windows-2019-cmake-cuda:
-    runs-on: windows-2019
+  windows-2022-cmake-cuda:
+    runs-on: windows-2022
 
     strategy:
       matrix:
-        cuda: ['12.4', '11.7']
+        cuda: ['12.4']
 
     steps:
       - name: Clone
@@ -878,7 +878,7 @@ jobs:
         env:
           CURL_PATH: ${{ steps.get_libcurl.outputs.curl_path }}
         run: |
-          call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
+          call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
           cmake -S . -B build -G "Ninja Multi-Config" ^
             -DLLAMA_BUILD_SERVER=ON ^
             -DGGML_NATIVE=OFF ^
index 62bed67803bb036de6be9991a3403ddaeaba0085..9874736cbd8def25970b0c6fed22106f7b9028dc 100644 (file)
@@ -380,11 +380,11 @@ jobs:
           name: llama-bin-win-${{ matrix.backend }}-${{ matrix.arch }}.zip
 
   windows-cuda:
-    runs-on: windows-2019
+    runs-on: windows-2022
 
     strategy:
       matrix:
-        cuda: ['12.4', '11.7']
+        cuda: ['12.4']
 
     steps:
       - name: Clone
@@ -412,7 +412,7 @@ jobs:
         id: cmake_build
         shell: cmd
         run: |
-          call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
+          call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
           cmake -S . -B build -G "Ninja Multi-Config" ^
             -DGGML_BACKEND_DL=ON ^
             -DGGML_NATIVE=OFF ^
index 4baf6f6c755eee004f6989d7ea1d47575a3d0c33..f6da488576937915d9df4b434aff3dbadc4ddfd1 100644 (file)
@@ -180,7 +180,7 @@ jobs:
 
 
   server-windows:
-    runs-on: windows-2019
+    runs-on: windows-2022
 
     steps:
       - name: Clone