diff --git a/.github/workflows/vs17-ci.yml b/.github/workflows/vs17-ci.yml index 3b59805..0fe0bbd 100644 --- a/.github/workflows/vs17-ci.yml +++ b/.github/workflows/vs17-ci.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: configure run: | - cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination + cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_BENCHMARKS=ON -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination - name: build run: | cmake --build build --verbose --config ${{matrix.cfg}} --parallel diff --git a/.github/workflows/vs17-clang-ci.yml b/.github/workflows/vs17-clang-ci.yml index 20c1dea..f7e6ba8 100644 --- a/.github/workflows/vs17-clang-ci.yml +++ b/.github/workflows/vs17-clang-ci.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Configure run: | - cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL -DFASTFLOAT_TEST=ON + cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_BENCHMARKS=ON -T ClangCL -DFASTFLOAT_TEST=ON - name: Build run: cmake --build build --config ${{matrix.cfg}} --parallel --verbose - name: Run basic tests diff --git a/benchmarks/benchmark.cpp b/benchmarks/benchmark.cpp index 5645da2..8afcbef 100644 --- a/benchmarks/benchmark.cpp +++ b/benchmarks/benchmark.cpp @@ -1,6 +1,6 @@ +#include "event_counter.h" #if defined(__linux__) || (__APPLE__ && __aarch64__) #define USING_COUNTERS -#include "event_counter.h" #endif #include #include "fast_float/fast_float.h"