Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CI] [GHA] Reenable `ninja` as the CMake generator on Windows CC (#29973)

Andrei Kashchikhin3b5f415304b8
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index 352bcc8c06a..c1cacea100b 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -58,8 +58,7 @@ jobs:
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_COMPILE_WARNING_AS_ERROR: 'ON'
- # CMAKE_GENERATOR: 'Ninja Multi-Config'
- CMAKE_GENERATOR: 'Visual Studio 17 2022'
+ CMAKE_GENERATOR: 'Ninja Multi-Config' # Visual Studio does not seem to work with `ccache`. Ninja is the generator supported by `ccache`
CMAKE_CXX_COMPILER_LAUNCHER: ccache
CMAKE_C_COMPILER_LAUNCHER: ccache
CCACHE_REMOTE_DIR: "C:\\mount\\caches\\ccache\\windows2022_x86_64_itt\\${{ github.base_ref || github.ref_name }}"