mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-05-14 21:14:10 +00:00
Nomic vulkan backend licensed under the Software for Open Models License (SOM), version 1.0.
This commit is contained in:
104
kompute/.github/workflows/cpp_tests.yml
vendored
Normal file
104
kompute/.github/workflows/cpp_tests.yml
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
name: C++ Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
cpp-tests-debug-with-debug-layers:
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.4
|
||||
env:
|
||||
VK_ICD_FILENAMES: "/swiftshader/vk_swiftshader_icd.json"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: "[Release g++] Build & Test"
|
||||
uses: KomputeProject/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/build
|
||||
source-dir: ${{github.workspace}}
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
build-type: Debug
|
||||
run-test: false
|
||||
ctest-options: -V
|
||||
configure-options: -DKOMPUTE_OPT_BUILD_TESTS=ON -DKOMPUTE_OPT_DISABLE_VK_DEBUG_LAYERS=OFF -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=ON
|
||||
- name: Run tests
|
||||
run: make mk_run_tests
|
||||
|
||||
cpp-tests-release-with-debug-layers:
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.4
|
||||
env:
|
||||
VK_ICD_FILENAMES: "/swiftshader/vk_swiftshader_icd.json"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: "[Release g++] Build & Test"
|
||||
uses: KomputeProject/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/build
|
||||
source-dir: ${{github.workspace}}
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
build-type: Release
|
||||
run-test: false
|
||||
ctest-options: -V
|
||||
configure-options: -DKOMPUTE_OPT_BUILD_TESTS=ON -DKOMPUTE_OPT_DISABLE_VK_DEBUG_LAYERS=OFF -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=ON
|
||||
- name: Run tests
|
||||
run: make mk_run_tests
|
||||
|
||||
cpp-tests-debug-without-debug-layers:
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.4
|
||||
env:
|
||||
VK_ICD_FILENAMES: "/swiftshader/vk_swiftshader_icd.json"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: "[Release g++] Build & Test"
|
||||
uses: KomputeProject/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/build
|
||||
source-dir: ${{github.workspace}}
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
build-type: Debug
|
||||
run-test: false
|
||||
ctest-options: -V
|
||||
configure-options: -DKOMPUTE_OPT_BUILD_TESTS=ON -DKOMPUTE_OPT_DISABLE_VK_DEBUG_LAYERS=ON -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=ON
|
||||
- name: Run tests
|
||||
run: make mk_run_tests
|
||||
|
||||
cpp-tests-release-without-debug-layers:
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.4
|
||||
env:
|
||||
VK_ICD_FILENAMES: "/swiftshader/vk_swiftshader_icd.json"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: "[Release g++] Build & Test"
|
||||
uses: KomputeProject/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/build
|
||||
source-dir: ${{github.workspace}}
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
build-type: Release
|
||||
run-test: false
|
||||
ctest-options: -V
|
||||
configure-options: -DKOMPUTE_OPT_BUILD_TESTS=ON -DKOMPUTE_OPT_DISABLE_VK_DEBUG_LAYERS=ON -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=ON
|
||||
- name: Run tests
|
||||
run: make mk_run_tests
|
||||
Reference in New Issue
Block a user