Skip to content

Commit e7a86f9

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

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build_wheels_macos_m1.yml

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy