diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-09 22:24:45 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-09 22:24:45 +0400 |
commit | 2adba315f23733634ca01e1aa53ca5dcdbf43d30 (patch) | |
tree | f3ea0cd8140da674c33a8cc7655156b43673336b | |
parent | 9a316af04b56d3eee31b61f2eca17c0bb4181f96 (diff) | |
download | kit-2adba315f23733634ca01e1aa53ca5dcdbf43d30.zip |
test
-rw-r--r-- | .github/workflows/build_and_test.yml | 2 | ||||
-rw-r--r-- | source/test/programs/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 1 deletions
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 |