From 1a6d59257b120470c0776dd827ce472a105c35ac Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 24 Dec 2024 17:19:23 +0100 Subject: [PATCH] Reverted macos change --- .github/workflows/mac.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index c35eee1419..7a4ee31beb 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -1,4 +1,4 @@ -name: macOS arm64 (14, Python 3.11) +name: macOS (12, Python 3.9) on: workflow_dispatch: pull_request: @@ -16,7 +16,7 @@ concurrency: cancel-in-progress: true env: - PYTHON_VERSION: '3.11' + PYTHON_VERSION: '3.9' OV_BRANCH: 0080d90974ca84f9a6d359da3388a2a18a93b753 OV_TARBALL: '' @@ -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 @@ -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 @@ -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: | @@ -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 \ @@ -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 @@ -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: | @@ -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 @@ -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