Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4b49e0b

Browse filesBrowse files
authored
Merge pull request #555 from asenyaev/asen/fix_macos_m1
Fix for the issue when there are no libs in packages on MacOS M1
2 parents f07201c + 3f01089 commit 4b49e0b
Copy full SHA for 4b49e0b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎.github/workflows/build_wheels_macos_m1.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_macos_m1.yml
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
build_sdist: [0]
2828

2929
env:
30+
CI_BUILD: 1
3031
SDIST: ${{ matrix.build_sdist || 0 }}
3132
ENABLE_HEADLESS: ${{ matrix.without_gui }}
3233
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
@@ -50,16 +51,20 @@ jobs:
5051
echo $ENABLE_HEADLESS > headless.enabled
5152
export MACOSX_DEPLOYMENT_TARGET=11.0
5253
arch -arm64 python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
54+
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
55+
5356
- name: before test
5457
run: |
5558
git submodule update --init --recursive
5659
arch -arm64 python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
5760
cd ${{ github.workspace }}/tests
5861
arch -arm64 python${{ matrix.python-version }} get_build_info.py
62+
5963
- name: run test
6064
run: |
6165
cd ${{ github.workspace }}/opencv
6266
arch -arm64 python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
67+
6368
- name: saving artifacts
6469
uses: actions/upload-artifact@v2
6570
with:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.