OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
GHA: removed hardcoded build type (#26401)
Ilya Lavrenov9c41f10ef4c4
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.ymlindex d9fd57da9ab..b9b70e90668 100644--- a/.github/workflows/coverage.yml+++ b/.github/workflows/coverage.yml@@ -10,6 +10,8 @@ permissions: read-alljobs:Coverage:runs-on: ${{ matrix.config.os }}+ env:+ CMAKE_BUILD_TYPE: 'Release'strategy:fail-fast: falsematrix:@@ -78,7 +80,7 @@ jobs:-DCMAKE_C_LINKER_LAUNCHER=ccache-DCMAKE_CXX_LINKER_LAUNCHER=ccache-DENABLE_SYSTEM_SNAPPY=ON- build-type: Release+ build-type: ${{ env.CMAKE_BUILD_TYPE }}- name: Install wheel packagesrun: cmake -DCOMPONENT=python_wheels -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install_pkg -P '${{ github.workspace }}/build/cmake_install.cmake'@@ -87,31 +89,31 @@ jobs:run: python3 -m pip install openvino-dev --find-links=${{ github.workspace }}/install_pkg/tools- name: List binaries- run: ls -la ${{ github.workspace }}/bin/intel64/Release+ run: ls -la ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}- name: Install OpenVINOrun: cmake -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/install_pkg -P '${{ github.workspace }}/build/cmake_install.cmake'- name: Run OV core unit tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_core_unit_tests+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_core_unit_tests- name: Run OV Proxy plugin tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_proxy_plugin_tests+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_proxy_plugin_tests- name: Run OV Hetero Func tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_hetero_func_tests --gtest_filter="*smoke*"+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_hetero_func_tests --gtest_filter="*smoke*"- name: Run IR frontend tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_ir_frontend_tests+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_ir_frontend_tests- name: Run ONNX frontend tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_onnx_frontend_tests --gtest_filter=-*IE_GPU*+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_onnx_frontend_tests --gtest_filter=-*IE_GPU*#- name: Run Paddle frontend unit tests- # run: ${{ github.workspace }}/bin/intel64/Release/paddle_tests --gtest_filter=-*IE_GPU*+ # run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/paddle_tests --gtest_filter=-*IE_GPU*- name: Run TensorFlow frontend unit tests- run: ${{ github.workspace }}/bin/intel64/Release/ov_tensorflow_frontend_tests --gtest_filter=-*IE_GPU*+ run: ${{ github.workspace }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_tensorflow_frontend_tests --gtest_filter=-*IE_GPU*- name: Build coverage with CMakeuses: ashutoshvarma/action-cmake-build@ade188313bc7eaa6f14349569a64d8bc716342ff # masterdiff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.ymlindex 0845a323611..451da17bfcd 100644--- a/.github/workflows/linux_conditional_compilation.yml+++ b/.github/workflows/linux_conditional_compilation.yml@@ -191,8 +191,8 @@ jobs:- name: Perform code tracing via ITT collectorrun: |python3 ${OPENVINO_REPO}/thirdparty/itt_collector/runtool/sea_runtool.py \- --bindir ${OPENVINO_REPO}/bin/intel64/Release -o ${SELECTIVE_BUILD_STAT_DIR}/itt_stat ! \- ${OPENVINO_REPO}/bin/intel64/Release/benchmark_app -niter 1 -nireq 1 \+ --bindir ${OPENVINO_REPO}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }} -o ${SELECTIVE_BUILD_STAT_DIR}/itt_stat ! \+ ${OPENVINO_REPO}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/benchmark_app -niter 1 -nireq 1 \-m ${MODELS_PATH}/models/test_model/test_model_fp32.xml -d CPU- name: Pack Artifactsdiff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.ymlindex 7c4df9f0808..8a2aa8fdf2d 100644--- a/.github/workflows/windows_conditional_compilation.yml+++ b/.github/workflows/windows_conditional_compilation.yml@@ -202,13 +202,13 @@ jobs:- name: Ctest - OpenVINO unit testsshell: cmdrun: |- set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\Release+ set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\${{ env.CMAKE_BUILD_TYPE }}ctest -C ${{ env.CMAKE_BUILD_TYPE }} --test-dir ${{ env.BUILD_DIR }} -V -L UNIT- name: Perform code tracing via ITT collectorshell: cmdrun: |- set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\Release+ set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\${{ env.CMAKE_BUILD_TYPE }}python3 ${{ env.OPENVINO_REPO }}\thirdparty\itt_collector\runtool\sea_runtool.py ^--bindir ${{ env.OPENVINO_REPO }}\bin\intel64\${{ env.CMAKE_BUILD_TYPE }} ^@@ -237,7 +237,7 @@ jobs:Compress-Archive @compress$compress = @{- Path = "${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_cpu_func_tests.exe", "${{ env.BUILD_DIR }}/bin/Release/ze_loader.dll", "${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/openvino_template_extension.dll", "${{ env.OPENVINO_REPO }}/src/tests/test_utils/functional_test_utils/layer_tests_summary", "${{ env.INSTALL_DIR }}/runtime/3rdparty/tbb"+ Path = "${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/ov_cpu_func_tests.exe", "${{ env.BUILD_DIR }}/bin/${{ env.CMAKE_BUILD_TYPE }}/ze_loader.dll", "${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/openvino_template_extension.dll", "${{ env.OPENVINO_REPO }}/src/tests/test_utils/functional_test_utils/layer_tests_summary", "${{ env.INSTALL_DIR }}/runtime/3rdparty/tbb"CompressionLevel = "Optimal"DestinationPath = "${{ env.BUILD_DIR }}/openvino_tests.zip"}@@ -337,7 +337,7 @@ jobs:- name: Run with CC-ed runtimeshell: cmdrun: |- set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\Release+ set path=%path%;${{ env.OPENVINO_REPO }}\temp\tbb\bin;${{ env.BUILD_DIR }}\bin\${{ env.CMAKE_BUILD_TYPE }}${{ env.OPENVINO_REPO }}\bin\intel64\${{ env.CMAKE_BUILD_TYPE }}\benchmark_app.exe -niter 1 -nireq 1 -m ${{ env.MODELS_PATH }}\models\test_model\test_model_fp32.xml -d CPUCPU_Functional_Tests: