|
55 | 55 | echo $ENABLE_CONTRIB > contrib.enabled
|
56 | 56 | echo $ENABLE_HEADLESS > headless.enabled
|
57 | 57 | 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 |
60 | 60 | delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
|
61 | 61 | - name: Saving all wheels
|
62 | 62 | uses: actions/upload-artifact@v3
|
@@ -100,18 +100,18 @@ jobs:
|
100 | 100 | path: wheelhouse/
|
101 | 101 | - name: Package installation
|
102 | 102 | 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 |
104 | 104 | cd ${{ github.workspace }}/tests
|
105 |
| - arch -arm64 python${{ matrix.python-version }} get_build_info.py |
| 105 | + python${{ matrix.python-version }} get_build_info.py |
106 | 106 | - name: Run tests
|
107 | 107 | run: |
|
108 | 108 | 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 . |
110 | 110 | - name: Pylint test
|
111 | 111 | 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 |
113 | 113 | 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 |
115 | 115 |
|
116 | 116 | Release_rolling:
|
117 | 117 | if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
|
0 commit comments