server: tests: ci : matrix cuda
This commit is contained in:
parent
12bb797193
commit
68cd1a4c16
1 changed files with 11 additions and 0 deletions
11
.github/workflows/server-test.yml
vendored
11
.github/workflows/server-test.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue