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 9, 2024
1 parent 19923f9 commit f392bd5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/CMakeLists.txt
Expand Up @@ -32,12 +32,10 @@ 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)
Expand Down

0 comments on commit f392bd5

Please sign in to comment.