File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939
4040 windows-cpu :
4141
42- runs-on : windows-2025
42+ runs-on : windows-2025-vs2026
4343
4444 strategy :
4545 matrix :
7474 - name : Build
7575 shell : cmd
7676 run : |
77- call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}
77+ call "C:\Program Files\Microsoft Visual Studio\18 \Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}
7878 cmake -S . -B build -G "Ninja Multi-Config" ^
7979 -D CMAKE_TOOLCHAIN_FILE=cmake/${{ matrix.arch }}-windows-llvm.cmake ^
8080 -DLLAMA_BUILD_BORINGSSL=ON ^
8888 - name : Pack artifacts
8989 id : pack_artifacts
9090 run : |
91- 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\
91+ Copy-Item "C:\Program Files\Microsoft Visual Studio\18 \Enterprise\VC\Redist\MSVC\14.50.35710 \debug_nonredist\${{ matrix.arch }}\Microsoft.VC143.OpenMP.LLVM\libomp140.${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}.dll" .\build\bin\Release\
9292 7z a -snl llama-bin-win-cpu-${{ matrix.arch }}.zip .\build\bin\Release\*
9393
9494 - name : Upload artifacts
You can’t perform that action at this time.
0 commit comments