chore: update github build script.
- enable gtest and benchmark build. - allow install gtest and benchmark binary. - add test and benchmark step in github action.
This commit is contained in:
@@ -61,6 +61,11 @@ PRIVATE
|
||||
GTest::gtest_main
|
||||
)
|
||||
|
||||
# Install binary
|
||||
install(TARGETS YYCCTest
|
||||
RUNTIME DESTINATION ${YYCC_INSTALL_BIN_PATH}
|
||||
)
|
||||
|
||||
# Discover all test
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(YYCCTest)
|
||||
|
||||
Reference in New Issue
Block a user