ci: fix windows build (#12484)

This commit is contained in:
Daniel Hiltgen
2025-10-02 18:59:26 -07:00
committed by GitHub
parent 1ed2881ef0
commit dc06601677

View File

@@ -163,7 +163,7 @@ jobs:
cmake --preset "${{ matrix.preset }}" ${{ matrix.flags }} -DOLLAMA_RUNNER_DIR="${{ matrix.runner_dir }}"
cmake --build --parallel --preset "${{ matrix.preset }}"
cmake --install build --component "${{ startsWith(matrix.preset, 'CUDA ') && 'CUDA' || startsWith(matrix.preset, 'ROCm ') && 'HIP' || 'CPU' }}" --strip --parallel 8
rm -f dist\lib\ollama\rocm\rocblas\library\*gfx906*
rm -force dist\lib\ollama\rocm\rocblas\library\*gfx906*
env:
CMAKE_GENERATOR: Ninja
- uses: actions/upload-artifact@v4