Skip to content

Commit

Permalink
Extend validation for mac x86
Browse files Browse the repository at this point in the history
  • Loading branch information
vishniakov-nikolai committed Jan 8, 2024
1 parent 9ecd446 commit 8a640a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,18 @@ jobs:
cmake --build ${{ env.BUILD_DIR }} --parallel --config ${{ env.CMAKE_BUILD_TYPE }}
- name: CMake configure, build and install - OpenVINO JS API
if: ${{ 'false' }} # 128446
# if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
run:
cmake -DCPACK_GENERATOR=NPM -DENABLE_SYSTEM_TBB=OFF -UTBB* -S ${{ env.OPENVINO_REPO }} -B ${{ env.BUILD_DIR }}
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
run: |
cmake \
-DCPACK_GENERATOR=NPM \
-DENABLE_SYSTEM_TBB=OFF \
-DENABLE_INTEL_GPU=OFF \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
cmake --build ${{ env.BUILD_DIR }} --parallel
cmake -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR_JS }} -P ${{ env.BUILD_DIR }}/cmake_install.cmake

#
# Upload build artifacts
#
Expand All @@ -222,8 +225,7 @@ jobs:
if-no-files-found: 'error'

- name: Upload openvino js package
if: ${{ 'false' }} # 128446
# if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
uses: actions/upload-artifact@v3
with:
name: openvino_js_package
Expand All @@ -241,8 +243,7 @@ jobs:
JS_API:
name: OpenVINO JS API
needs: [ Build, Smart_CI ]
if: ${{ 'false' }} # 128446
# if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
uses: ./.github/workflows/job_openvino_js.yml
with:
runner: 'macos-13'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
run: |
cmake \
-DCPACK_GENERATOR=NPM \
-DENABLE_SYSTEM_TBB=OFF -UTBB* \
-DENABLE_SYSTEM_TBB=OFF \
-DENABLE_INTEL_GPU=OFF \
-S ${{ env.OPENVINO_REPO }} \
-B ${{ env.BUILD_DIR }}
Expand Down

0 comments on commit 8a640a3

Please sign in to comment.