|
@@ -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
|