mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Chore] (workflow): setup CI for benchmarks
This commit is contained in:
@@ -15,11 +15,13 @@ FetchContent_MakeAvailable(benchmark)
|
||||
|
||||
set(MGL_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..)
|
||||
|
||||
add_executable(
|
||||
SanityBench
|
||||
add_executable(SanityBench
|
||||
SanityBench.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
SanityBench
|
||||
benchmark::benchmark
|
||||
target_link_libraries(SanityBench
|
||||
PRIVATE benchmark::benchmark
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
|
||||
add_test(NAME SanityBench COMMAND SanityBench)
|
||||
Reference in New Issue
Block a user