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

Sign up
Appearance settings

Commit 60cc2d2

Browse files
Merge pull request #934 from asmorkalov/as/native_mac_m1_runner
Use native Mac M1 Github Runner for the configuration
2 parents bbcc41e + e7a86f9 commit 60cc2d2

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)

AltStyle によって変換されたページ (->オリジナル) /