ggml-debug: ci add test curl label

This commit is contained in:
Pierrick HYMBERT 2024-04-10 22:36:03 +02:00
parent f84473da64
commit 52a8e0640a
2 changed files with 2 additions and 6 deletions

View file

@ -52,7 +52,7 @@ jobs:
id: cmake_test
run: |
cd build
ctest -L main --verbose --timeout 900
ctest -L curl --verbose --timeout 900
- name: Determine tag name
id: tag

View file

@ -4,10 +4,6 @@ install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if (NOT DEFINED LLAMA_TEST_LABEL)
set(LLAMA_TEST_LABEL "main")
endif()
set(TEST_TARGET test-ggml-debug)
add_test(NAME ${TEST_TARGET} COMMAND ggml-debug --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42)
set_property(TEST ${TEST_TARGET} PROPERTY LABELS ${LLAMA_TEST_LABEL})
set_property(TEST ${TEST_TARGET} PROPERTY LABELS ggml-debug curl)