From 2adba315f23733634ca01e1aa53ca5dcdbf43d30 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 9 Aug 2022 22:24:45 +0400 Subject: test --- .github/workflows/build_and_test.yml | 2 +- source/test/programs/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6bf6fdc..6f29517 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -98,7 +98,7 @@ jobs: with: cmake-version: 3.18 - - name: Build with GCC + - name: Build if: runner.os != 'Windows' run: | cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S . diff --git a/source/test/programs/CMakeLists.txt b/source/test/programs/CMakeLists.txt index e9f8856..46bc8e9 100644 --- a/source/test/programs/CMakeLists.txt +++ b/source/test/programs/CMakeLists.txt @@ -20,6 +20,7 @@ if(KIT_ENABLE_TESTING) TIMEOUT "30") add_executable(cpp_example cpp_example.cpp) + target_compile_features(cpp_example PRIVATE cxx_std_20) target_link_libraries(cpp_example ${KIT_TEST_LIBRARY}) add_test( NAME cpp_example_test -- cgit v1.2.3