瀏覽代碼

only generate gpu libs

Michael Yang 1 年之前
父節點
當前提交
a8c5413d06
共有 1 個文件被更改,包括 1 次插入19 次删除
  1. 1 19
      .github/workflows/test.yaml

+ 1 - 19
.github/workflows/test.yaml

@@ -127,10 +127,7 @@ jobs:
         if: ${{ startsWith(matrix.os, 'windows-') }}
         if: ${{ startsWith(matrix.os, 'windows-') }}
       - uses: golangci/golangci-lint-action@v3
       - uses: golangci/golangci-lint-action@v3
   test:
   test:
-    needs:
-      - generate
-      - generate-cuda
-      - generate-rocm
+    needs: generate
     strategy:
     strategy:
       matrix:
       matrix:
         os: [ubuntu-latest, macos-latest, windows-latest]
         os: [ubuntu-latest, macos-latest, windows-latest]
@@ -157,21 +154,6 @@ jobs:
         with:
         with:
           name: ${{ matrix.os }}-${{ matrix.arch }}-libraries
           name: ${{ matrix.os }}-${{ matrix.arch }}-libraries
           path: llm/llama.cpp/build
           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 build
       - run: go test -v ./...
       - run: go test -v ./...
       - uses: actions/upload-artifact@v4
       - uses: actions/upload-artifact@v4