Skip to content

Commit

Permalink
Reverted macos change
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Dec 24, 2024
1 parent 6f83a20 commit 1a6d592
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS arm64 (14, Python 3.11)
name: macOS (12, Python 3.9)
on:
workflow_dispatch:
pull_request:
Expand All @@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.11'
PYTHON_VERSION: '3.9'
OV_BRANCH: 0080d90974ca84f9a6d359da3388a2a18a93b753
OV_TARBALL: ''

Expand Down Expand Up @@ -58,9 +58,9 @@ jobs:
defaults:
run:
shell: bash
runs-on: 'macos-14-xlarge-xlarge'
runs-on: 'macos-12-large'
env:
MACOSX_DEPLOYMENT_TARGET: '11.0'
MACOSX_DEPLOYMENT_TARGET: '10.15'
CMAKE_BUILD_TYPE: 'Release'
CMAKE_GENERATOR: 'Ninja Multi-Config'
CMAKE_CXX_COMPILER_LAUNCHER: ccache
Expand All @@ -83,7 +83,7 @@ jobs:
#

- name: Install build dependencies
run: brew install coreutils ninja scons
run: brew install coreutils ninja

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
Expand All @@ -108,9 +108,9 @@ jobs:
# github.ref_name is 'ref/PR_#' in case of the PR, and 'branch_name' when executed on push
save: ${{ github.ref_name == 'master' && 'true' || 'false' }}
verbose: 2
key: ccache-mac-arm64
key: ccache-mac
restore-keys: |
ccache-mac-arm64
ccache-mac
- name: CMake configure - OpenVINO
run: |
Expand All @@ -130,6 +130,8 @@ jobs:
-DENABLE_OV_PYTORCH_FRONTEND=ON \
-DENABLE_OV_TF_FRONTEND=ON \
-DENABLE_OV_TF_LITE_FRONTEND=OFF \
-DENABLE_INTEL_GPU=OFF \
-DENABLE_INTEL_NPU=OFF \
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
Expand Down Expand Up @@ -180,7 +182,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: macos-14-xlarge
runs-on: macos-13

env:
OV_INSTALL_DIR: ${{ github.workspace }}/ov
Expand Down Expand Up @@ -211,7 +213,7 @@ jobs:
popd
- name: Install build dependencies
run: brew install coreutils ninja
run: brew install coreutils ninja scons

- name: Build genai
run: |
Expand Down Expand Up @@ -245,7 +247,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: macos-14-xlarge
runs-on: macos-13

env:
OV_INSTALL_DIR: ${{ github.workspace }}/ov
Expand Down Expand Up @@ -313,7 +315,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: macos-14-xlarge
runs-on: macos-13
env:
OV_INSTALL_DIR: ${{ github.workspace }}/ov

Expand Down

0 comments on commit 1a6d592

Please sign in to comment.