speed up tests by only building static lib (#4740)

This commit is contained in:
Jeffrey Morgan
2024-05-30 21:43:15 -07:00
committed by GitHub
parent eb2c443a79
commit 7ca9605f54
2 changed files with 46 additions and 41 deletions

View File

@@ -287,6 +287,8 @@ jobs:
GOARCH: ${{ matrix.arch }}
CGO_ENABLED: '1'
OLLAMA_CPU_TARGET: 'static'
OLLAMA_SKIP_CPU_GENERATE: '1'
OLLAMA_SKIP_METAL_GENERATE: '1'
steps:
- uses: actions/checkout@v4
with: