Skip to content

Commit

Permalink
try to build all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cezbloch committed Nov 8, 2024
1 parent e9bd28b commit 941e298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake_single_platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ShaderatorTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 941e298

Please sign in to comment.