ci: add linux binaries to release build

This commit is contained in:
Green Sky 2023-05-05 00:01:30 +02:00
parent 232caf3c15
commit 20f7f4c8de
No known key found for this signature in database
3 changed files with 163 additions and 1 deletions

View file

@ -17,7 +17,7 @@ function(llama_build_and_test_executable source)
get_filename_component(TEST_TARGET ${source} NAME_WE)
add_executable(${TEST_TARGET} ${source})
install(TARGETS ${TEST_TARGET} RUNTIME)
target_link_libraries(${TEST_TARGET} PRIVATE llama common)
target_link_libraries(${TEST_TARGET} PRIVATE ggml llama common)
add_test(NAME ${TEST_TARGET} COMMAND $<TARGET_FILE:${TEST_TARGET}> ${ARGN})
endfunction()