]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : add Ubuntu 22 Vulkan CI run (#5789)
authorEve <redacted>
Fri, 1 Mar 2024 08:54:53 +0000 (08:54 +0000)
committerGitHub <redacted>
Fri, 1 Mar 2024 08:54:53 +0000 (10:54 +0200)
.github/workflows/build.yml

index 66ad85938ca16b40202e542c0f00813a82d6b5b6..9144f926628a51a40946c1418d22578b3f525f92 100644 (file)
@@ -145,6 +145,28 @@ jobs:
           cd build
           ctest -L main --verbose
 
+  ubuntu-22-cmake-vulkan:
+    runs-on: ubuntu-22.04
+
+    steps:
+      - name: Clone
+        id: checkout
+        uses: actions/checkout@v3
+
+      - name: Dependencies
+        id: depends
+        run: |
+          sudo apt-get update
+          sudo apt-get install build-essential libvulkan-dev
+
+      - name: Build
+        id: cmake_build
+        run: |
+          mkdir build
+          cd build
+          cmake -DLLAMA_VULKAN=ON ..
+          cmake --build . --config Release -j $(nproc)
+
   ubuntu-22-cmake-sycl:
     runs-on: ubuntu-22.04