diff --git a/.ci/azure/linux.yml b/.ci/azure/linux.yml index 66bcc0d23c5b72..cb94e33da392b8 100644 --- a/.ci/azure/linux.yml +++ b/.ci/azure/linux.yml @@ -84,7 +84,7 @@ jobs: - task: CMake@1 inputs: - cmakeArgs: -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_JAVA=OFF -DENABLE_TESTS=ON -DIE_EXTRA_MODULES=$(REPO_DIR)/modules $(OPENVINO_REPO_DIR) + cmakeArgs: -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DIE_EXTRA_MODULES=$(REPO_DIR)/modules $(OPENVINO_REPO_DIR) workingDirectory: $(BUILD_DIR) - script: ninja diff --git a/.ci/azure/mac.yml b/.ci/azure/mac.yml index 59c2e7a9176884..ba77cb6a6e261e 100644 --- a/.ci/azure/mac.yml +++ b/.ci/azure/mac.yml @@ -83,7 +83,7 @@ jobs: # Disable errors with Ninja export CXXFLAGS="-Wno-error=unused-command-line-argument" export CFLAGS="-Wno-error=unused-command-line-argument" - cmake -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_JAVA=OFF -DENABLE_TESTS=ON -DIE_EXTRA_MODULES=$(REPO_DIR)/modules $(OPENVINO_REPO_DIR) + cmake -GNinja -DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DIE_EXTRA_MODULES=$(REPO_DIR)/modules $(OPENVINO_REPO_DIR) workingDirectory: $(BUILD_DIR) displayName: 'CMake' diff --git a/.ci/azure/windows.yml b/.ci/azure/windows.yml index 2fec7ed51f3e2b..1e3833da42a64f 100644 --- a/.ci/azure/windows.yml +++ b/.ci/azure/windows.yml @@ -89,7 +89,7 @@ jobs: - script: | set PATH=$(WORK_DIR)\ninja-win;%PATH% - call "$(MSVS_VARS_PATH)" && cmake -GNinja -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_JAVA=OFF -DENABLE_TESTS=ON -DIE_EXTRA_MODULES=$(REPO_DIR)/modules -DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" -DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" $(OPENVINO_REPO_DIR) + call "$(MSVS_VARS_PATH)" && cmake -GNinja -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DIE_EXTRA_MODULES=$(REPO_DIR)/modules -DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" -DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" $(OPENVINO_REPO_DIR) workingDirectory: $(BUILD_DIR) displayName: 'CMake' diff --git a/modules/java_api/CMakeLists.txt b/modules/java_api/CMakeLists.txt index f55ff6d861dee5..5d3cc794c363b7 100644 --- a/modules/java_api/CMakeLists.txt +++ b/modules/java_api/CMakeLists.txt @@ -27,9 +27,7 @@ add_jar(inference_engine_jar ${java_source} OUTPUT_NAME ${PROJECT_NAME} OUTPUT_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) -if(ENABLE_TESTS) - add_subdirectory(tests) -endif() +add_subdirectory(tests) if(ENABLE_SAMPLES) add_subdirectory(samples)