diff --git a/.github/workflows/server-test.yml b/.github/workflows/server-test.yml index e3aea1140..033509900 100644 --- a/.github/workflows/server-test.yml +++ b/.github/workflows/server-test.yml @@ -42,6 +42,8 @@ jobs: defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_KOMPUTE=ON -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON' - build: 'vulkan' defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_VULKAN=ON' + - build: 'cuda' + defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON' steps: - name: Clone @@ -81,6 +83,15 @@ jobs: apt-get update apt-get -y install vulkan-sdk + - name: Install CUDA + id: get_vulkan + if: ${{ matrix.build == 'cuda' }} + run: | + wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb + dpkg -i cuda-keyring_1.1-1_all.deb + apt-get update + apt-get install cuda-toolkit + - name: Build id: cmake_build run: |