From 5670b8b8ec40b554f86d29e23f9b80fc7633d669 Mon Sep 17 00:00:00 2001 From: lovemefan Date: Sun, 20 Oct 2024 23:14:30 +0800 Subject: [PATCH] add git sub module for cuda test --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fa5abaf..1f1fcd4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -434,10 +434,9 @@ jobs: - name: Configure - run: > - cmake -S . -B ./build -A ${{ matrix.arch }} - -DCMAKE_BUILD_TYPE=${{ matrix.build }} - -DGGML_CUDA=${{ matrix.cublas }} + run: | + git submodule sync && git submodule update --init --recursive + cmake -S . -B ./build -A ${{ matrix.arch }} -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CUDA=${{ matrix.cublas }} - name: Build ${{ matrix.cuda-toolkit }} run: |