From 52a8e0640a9c8e5a3dd0d106a239256e57c716c8 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Wed, 10 Apr 2024 22:36:03 +0200 Subject: [PATCH] ggml-debug: ci add test curl label --- .github/workflows/build.yml | 2 +- examples/ggml-debug/CMakeLists.txt | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff7238aba..ee73762e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/examples/ggml-debug/CMakeLists.txt b/examples/ggml-debug/CMakeLists.txt index 70e13d63c..225ea1a68 100644 --- a/examples/ggml-debug/CMakeLists.txt +++ b/examples/ggml-debug/CMakeLists.txt @@ -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)