ci: add Linux smoke coverage

This commit is contained in:
server
2026-04-14 01:07:27 +02:00
parent e8a33f84f4
commit c8146c0340
4 changed files with 205 additions and 3 deletions

20
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,20 @@
if(WIN32)
return()
endif()
add_executable(metin_smoke_tests
smoke_auth.cpp
${CMAKE_SOURCE_DIR}/src/game/SecureCipher.cpp
)
target_link_libraries(metin_smoke_tests
libthecore
sodium
pthread
)
if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
target_link_libraries(metin_smoke_tests md)
endif()
add_test(NAME metin_smoke_tests COMMAND metin_smoke_tests)