vulkan-renderer icon indicating copy to clipboard operation
vulkan-renderer copied to clipboard

Fix gest and benchmark in Windows CI

Open IAmNotHanni opened this issue 2 years ago • 1 comments

Describe The Bug

For unknown reasons, Windows CI can't compile our tests and benchmarks. For now, only Linux CI does this.

Steps To Reproduce

Try to enable tests and benchmarks in the GitHub action for Windows CI again and it will fail

Expected Behavior

Since the tests and benchmarks can be compiled in Linux CI and here on my machine with Visual Studio 2022 locally, our solution can't be fully incorrect!

Affected Code

The continuous integration (GitHub actions) for Windows (both msvc and Clang)

Operating System

windows-latest in CI

Application Version

current master

Additional Context

none

Relevant Log Output

D:\a\vulkan-renderer\vulkan-renderer\build-debug_deps\gtest-src\googletest\src\gtest-all.cc(38,10): fatal  error : 'gtest/gtest.h' file not found [D:\a\vulkan-renderer\vulkan-renderer\build-debug_deps\gtest-build\googlemock\gmock.vcxproj]
  Building Custom Rule D:/a/vulkan-renderer/vulkan-renderer/build-debug/_deps/gtest-src/googlemock/CMakeLists.txt
D:\a\vulkan-renderer\vulkan-renderer\build-debug_deps\gtest-src\googletest\src\gtest-all.cc(38,10): fatal  error : 'gtest/gtest.h' file not found [D:\a\vulkan-renderer\vulkan-renderer\build-debug_deps\gtest-build\googlemock\gmock_main.vcxproj]

IAmNotHanni avatar May 06 '23 11:05 IAmNotHanni

We should also run the tests in the CI, but not the benchmarks. Keep in mind that our tests don't require a gpu to run!

IAmNotHanni avatar May 09 '23 00:05 IAmNotHanni