Explorar el Código

ci : add Ubuntu 22 Vulkan CI run (#5789)

Eve hace 1 año
padre
commit
6ea0f010ff
Se han modificado 1 ficheros con 22 adiciones y 0 borrados
  1. 22 0
      .github/workflows/build.yml

+ 22 - 0
.github/workflows/build.yml

@@ -145,6 +145,28 @@ jobs:
           cd build
           cd build
           ctest -L main --verbose
           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:
   ubuntu-22-cmake-sycl:
     runs-on: ubuntu-22.04
     runs-on: ubuntu-22.04