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 e7a86f9

Browse filesBrowse files
committed
Use native Mac M1 Github Runner for the configuration.
1 parent ea3538a commit e7a86f9
Copy full SHA for e7a86f9

File tree

Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed

‎.github/workflows/build_wheels_macos_m1.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_macos_m1.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
echo $ENABLE_CONTRIB > contrib.enabled
5656
echo $ENABLE_HEADLESS > headless.enabled
5757
export MACOSX_DEPLOYMENT_TARGET=11.0
58-
arch -arm64 python${{ matrix.python-version }} -m pip install toml && python${{ matrix.python-version }} -c 'import toml; c = toml.load("pyproject.toml"); print("\n".join(c["build-system"]["requires"]))' | python${{ matrix.python-version }} -m pip install -r /dev/stdin
59-
arch -arm64 python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v
58+
python${{ matrix.python-version }} -m pip install toml && python${{ matrix.python-version }} -c 'import toml; c = toml.load("pyproject.toml"); print("\n".join(c["build-system"]["requires"]))' | python${{ matrix.python-version }} -m pip install -r /dev/stdin
59+
python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v
6060
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
6161
- name: Saving all wheels
6262
uses: actions/upload-artifact@v3
@@ -100,18 +100,18 @@ jobs:
100100
path: wheelhouse/
101101
- name: Package installation
102102
run: |
103-
arch -arm64 python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
103+
python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
104104
cd ${{ github.workspace }}/tests
105-
arch -arm64 python${{ matrix.python-version }} get_build_info.py
105+
python${{ matrix.python-version }} get_build_info.py
106106
- name: Run tests
107107
run: |
108108
cd ${{ github.workspace }}/opencv
109-
arch -arm64 python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
109+
python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
110110
- name: Pylint test
111111
run: |
112-
arch -arm64 python${{ matrix.python-version }} -m pip install pylint==2.15.9
112+
python${{ matrix.python-version }} -m pip install pylint==2.15.9
113113
cd ${{ github.workspace }}/tests
114-
arch -arm64 python${{ matrix.python-version }} -m pylint $PYLINT_TEST_FILE
114+
python${{ matrix.python-version }} -m pylint $PYLINT_TEST_FILE
115115
116116
Release_rolling:
117117
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}

0 commit comments

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