diff --git a/.github/workflows/cmake_single_platform.yml b/.github/workflows/cmake_single_platform.yml index bf8f566..454216a 100644 --- a/.github/workflows/cmake_single_platform.yml +++ b/.github/workflows/cmake_single_platform.yml @@ -25,7 +25,7 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON - name: Build # Build your program with the given configuration diff --git a/ShaderatorTests/CMakeLists.txt b/ShaderatorTests/CMakeLists.txt index 9e15d83..6f7df90 100644 --- a/ShaderatorTests/CMakeLists.txt +++ b/ShaderatorTests/CMakeLists.txt @@ -22,4 +22,4 @@ add_executable(shaderator_tests # Link the Shaderator library and pthread and Gtest target_link_libraries(shaderator_tests Shaderator pthread gtest_main) -add_test(NAME example_test COMMAND shaderator_tests) +add_test(NAME shaderator_tests COMMAND shaderator_tests)