Skip to content

Commit

Permalink
CI: benchmark: run on Windows targets through CTest
Browse files Browse the repository at this point in the history
The benchmark program now compiles on Windows, so run it when CTest is
invoked, just like on other platforms.
  • Loading branch information
aklomp committed Jan 8, 2024
1 parent 2f84fa8 commit 9f64607
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/CMakeLists.txt
Expand Up @@ -32,14 +32,11 @@ add_base64_test(test_base64
test_base64.c
)

if (NOT WIN32)
add_base64_test(benchmark
codec_supported.c
benchmark.c
)
endif()
add_base64_test(benchmark
codec_supported.c
benchmark.c
)

if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(benchmark PRIVATE rt)
endif()

0 comments on commit 9f64607

Please sign in to comment.