From 54e3cbc81611907c749cf78316446ea18b851116 Mon Sep 17 00:00:00 2001 From: Alfred Klomp Date: Mon, 8 Jan 2024 23:32:40 +0100 Subject: [PATCH] CI: benchmark: run on Windows targets through CTest The benchmark program now compiles on Windows, so run it when CTest is invoked, just like on other platforms. --- test/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ef878704..f07b65a0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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)