]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : add Vulkan on Ubuntu with default packages build (#16532)
authorMathieu Baudier <redacted>
Sun, 12 Oct 2025 13:48:03 +0000 (15:48 +0200)
committerGitHub <redacted>
Sun, 12 Oct 2025 13:48:03 +0000 (15:48 +0200)
* ci: build Vulkan on Ubuntu with default packages

* ci: disable tests in Vulkan build with default Ubuntu packages

.github/workflows/build.yml

index 8d6ba5f9f366f1ad5380b7f3728c09350f7b16e0..fe8686389360001717359fd228cf1d50ba1352f5 100644 (file)
@@ -387,6 +387,39 @@ jobs:
           cd build
           ctest -L main --verbose
 
+  ubuntu-24-cmake-vulkan-deb:
+    runs-on: ubuntu-24.04
+
+    steps:
+      - name: Clone
+        id: checkout
+        uses: actions/checkout@v4
+
+      - name: ccache
+        uses: ggml-org/ccache-action@v1.2.16
+        with:
+          key: ubuntu-24-cmake-vulkan-deb
+          evict-old-files: 1d
+
+      - name: Dependencies
+        id: depends
+        run: |
+          sudo apt-get install -y glslc libvulkan-dev libcurl4-openssl-dev
+
+      - name: Configure
+        id: cmake_configure
+        run: |
+          cmake -B build \
+            -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+            -DGGML_BACKEND_DL=ON \
+            -DGGML_CPU_ALL_VARIANTS=ON \
+            -DGGML_VULKAN=ON
+
+      - name: Build
+        id: cmake_build
+        run: |
+          cmake --build build -j $(nproc)
+
   ubuntu-24-cmake-vulkan:
     runs-on: ubuntu-24.04