File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ jobs:
504504 needs : [check-release]
505505 if : ${{ needs.check-release.outputs.should_release == 'true' }}
506506
507- runs-on : windows-2025
507+ runs-on : windows-2025-vs2026
508508
509509 permissions :
510510 actions : write
@@ -535,12 +535,12 @@ jobs:
535535 - name : ccache
536536 uses : ggml-org/ccache-action@v1.2.21
537537 with :
538- key : release-windows-2025-${{ matrix.arch }}-cpu
538+ key : release-windows-2025-vs2026- ${{ matrix.arch }}-cpu
539539
540540 - name : Build
541541 shell : cmd
542542 run : |
543- call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}
543+ call "C:\Program Files\Microsoft Visual Studio\18 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}
544544 cmake -S . -B build -G "Ninja Multi-Config" ^
545545 -D CMAKE_TOOLCHAIN_FILE=cmake/${{ matrix.arch }}-windows-llvm.cmake ^
546546 -DLLAMA_BUILD_BORINGSSL=ON ^
@@ -554,12 +554,12 @@ jobs:
554554 - name : ccache-clear
555555 uses : ./.github/actions/ccache-clear
556556 with :
557- key : release-windows-2025-${{ matrix.arch }}-cpu
557+ key : release-windows-2025-vs2026- ${{ matrix.arch }}-cpu
558558
559559 - name : Pack artifacts
560560 id : pack_artifacts
561561 run : |
562- Copy-Item "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Redist\MSVC\14.44.35112 \debug_nonredist\${{ matrix.arch }}\Microsoft.VC143 .OpenMP.LLVM\libomp140.${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}.dll" .\build\bin\Release\
562+ Copy-Item "C:\Program Files\Microsoft Visual Studio\18 \Enterprise\VC\Redist\MSVC\14.51.36231 \debug_nonredist\${{ matrix.arch }}\Microsoft.VC145 .OpenMP.LLVM\libomp140.${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}.dll" .\build\bin\Release\
563563 7z a -snl llama-bin-win-cpu-${{ matrix.arch }}.zip .\build\bin\Release\*
564564
565565 - name : Upload artifacts
You can’t perform that action at this time.
0 commit comments