Skip to content

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

[GHA] Enable macOS workflows (#31751)

Arseniy Obolenskiy658c1dfa91d4
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index 8986eaee8b8..6cd9df3760b 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -18,6 +18,7 @@ on:
- '**/layer_tests_summary/**'
- '**/conformance/**'
branches:
+ - 'master'
- 'releases/**'
# pull_request:
# paths-ignore:
@@ -353,6 +354,7 @@ jobs:
Samples:
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_samples_tests.yml
with:
runner: 'macos-14'
@@ -361,7 +363,7 @@ jobs:
JS_API:
name: OpenVINO JS API
needs: [ Build, Smart_CI ]
- if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
+ if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API && (github.event_name != 'push' || github.ref_name != 'master')
uses: ./.github/workflows/job_openvino_js.yml
with:
runner: 'macos-14'
@@ -376,7 +378,7 @@ jobs:
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
python-version: '3.11'
target-branch: ${{ inputs.target-branch }}
- if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS
+ if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS && (github.event_name != 'push' || github.ref_name != 'master')
CXX_Unit_Tests:
name: C++ unit tests
@@ -390,6 +392,7 @@ jobs:
Python_Unit_Tests:
name: Python unit tests
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_python_unit_tests.yml
with:
runner: 'macos-14'
@@ -399,6 +402,7 @@ jobs:
Python_API_Tests:
name: Python API tests
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_python_api_tests.yml
strategy:
fail-fast: false
@@ -412,6 +416,7 @@ jobs:
TensorFlow_Layer_Tests:
name: TensorFlow Layer Tests
needs: [ Build, Smart_CI, Openvino_tokenizers ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_tensorflow_layer_tests.yml
with:
runner: 'macos-14'
@@ -421,6 +426,7 @@ jobs:
Pytorch_Layer_Tests:
name: Pytorch Layer Tests
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_pytorch_layer_tests.yml
with:
runner: 'macos-14'
@@ -430,6 +436,7 @@ jobs:
Pytorch_FX_Layer_Tests:
name: Pytorch FX Layer Tests
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_pytorch_fx_layer_tests.yml
with:
runner: 'macos-14'
@@ -439,6 +446,7 @@ jobs:
JAX_Layer_Tests:
name: JAX Layer Tests
needs: [ Build, Smart_CI ]
+ if: ${{ github.event_name != 'push' || github.ref_name != 'master' }}
uses: ./.github/workflows/job_jax_layer_tests.yml
with:
runner: 'macos-14'
@@ -447,7 +455,7 @@ jobs:
CPU_Functional_Tests:
name: CPU functional tests
- if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
+ if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test && (github.event_name != 'push' || github.ref_name != 'master')
needs: [ Build, Smart_CI ]
uses: ./.github/workflows/job_cpu_functional_tests.yml
with: