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 ecebc7c commit 54e3cbc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
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 54e3cbc

Please sign in to comment.