mirror of
https://github.com/ollama/ollama.git
synced 2025-09-29 18:43:58 +02:00
only generate gpu libs
This commit is contained in:
20
.github/workflows/test.yaml
vendored
20
.github/workflows/test.yaml
vendored
@@ -127,10 +127,7 @@ jobs:
|
||||
if: ${{ startsWith(matrix.os, 'windows-') }}
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
test:
|
||||
needs:
|
||||
- generate
|
||||
- generate-cuda
|
||||
- generate-rocm
|
||||
needs: generate
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
@@ -157,21 +154,6 @@ jobs:
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.arch }}-libraries
|
||||
path: llm/llama.cpp/build
|
||||
- if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: cuda-11.8.0-libraries
|
||||
path: llm/llama.cpp/build
|
||||
- if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: rocm-5.7.1-libraries
|
||||
path: llm/llama.cpp/build
|
||||
- if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: rocm-6.0-libraries
|
||||
path: llm/llama.cpp/build
|
||||
- run: go build
|
||||
- run: go test -v ./...
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
Reference in New Issue
Block a user