Do not merge: for debugging #7659
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows (VS 2019, Python 3.11, Debug) | |
on: | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
- 'releases/**' | |
concurrency: | |
# github.ref is not unique in post-commit | |
group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-windows-vs2019-debug | |
cancel-in-progress: true | |
permissions: read-all | |
env: | |
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }} | |
jobs: | |
Smart_CI: | |
runs-on: ubuntu-latest | |
outputs: | |
affected_components: "${{ steps.smart_ci.outputs.affected_components }}" | |
skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}" | |
target_branch: ${{ steps.set_target_branch.outputs.target_branch }} | |
steps: | |
- name: checkout action | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
sparse-checkout: .github/actions/smart-ci | |
- name: Get affected components | |
id: smart_ci | |
uses: ./.github/actions/smart-ci | |
with: | |
repository: ${{ github.repository }} | |
pr: ${{ github.event.number }} | |
commit_sha: ${{ github.sha }} | |
ref_name: ${{ github.ref_name }} | |
component_pattern: "category: (.*)" | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
skip_when_only_listed_labels_set: 'docs' | |
skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*' | |
- name: Get target branch | |
id: set_target_branch | |
run: | | |
echo "target_branch=${TARGET_BRANCH#refs/heads/}" >> $GITHUB_OUTPUT | |
Build: | |
needs: [ Smart_CI ] | |
if: "!needs.smart_ci.outputs.skip_workflow" | |
uses: ./.github/workflows/job_build_windows.yml | |
with: | |
runner: 'aks-win-32-cores-128gb' | |
affected-components: ${{ needs.smart_ci.outputs.affected_components }} | |
build-type: 'Debug' | |
target-branch: ${{ needs.smart_ci.outputs.target_branch }} | |
cmake-options: |- | |
-G "Ninja" ` | |
-DENABLE_PYTHON=OFF ` | |
-DENABLE_CPPLINT=OFF ` | |
-DBUILD_SHARED_LIBS=ON ` | |
-DENABLE_TESTS=ON ` | |
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON ` | |
-DENABLE_STRICT_DEPENDENCIES=OFF ` | |
-DCMAKE_DISABLE_FIND_PACKAGE_PkgConfig=ON ` | |
-DCUSTOM_OPERATIONS="calculate_grid;complex_mul;fft;grid_sample;sparse_conv;sparse_conv_transpose" ` | |
-DOPENVINO_EXTRA_MODULES="${env:OPENVINO_CONTRIB_REPO }}/modules/custom_operations;${env:OPENVINO_CONTRIB_REPO}/modules/java_api" | |
CXX_Unit_Tests: | |
name: C++ unit tests | |
needs: [ Build, Smart_CI ] | |
uses: ./.github/workflows/job_cxx_unit_tests.yml | |
with: | |
runner: 'aks-win-4-cores-8gb' | |
affected-components: ${{ needs.smart_ci.outputs.affected_components }} | |
os: 'windows_2019' | |
build-type: 'Debug' | |
timeout-minutes: 60 | |
Overall_Status: | |
name: ci/gha_overall_status_windows_debug | |
needs: [ Smart_CI, Build, CXX_Unit_Tests ] | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check status of all jobs | |
if: >- | |
${{ | |
contains(needs.*.result, 'failure') || | |
contains(needs.*.result, 'cancelled') | |
}} | |
run: exit 1 |