File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,21 @@ jobs:
4949 echo $ENABLE_CONTRIB > contrib.enabled
5050 echo $ENABLE_HEADLESS > headless.enabled
5151 export MACOSX_DEPLOYMENT_TARGET=11.0
52- arch -arm64 python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
52+ arch -arm64 -e SDIST=${{ matrix.build_sdist }} -e ENABLE_HEADLESS=${{ matrix.without_gui }} -e ENABLE_CONTRIB=${{ matrix.with_contrib }} python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
53+ delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
54+
5355 - name : before test
5456 run : |
5557 git submodule update --init --recursive
5658 arch -arm64 python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
5759 cd ${{ github.workspace }}/tests
5860 arch -arm64 python${{ matrix.python-version }} get_build_info.py
61+
5962 - name : run test
6063 run : |
6164 cd ${{ github.workspace }}/opencv
6265 arch -arm64 python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
66+
6367 - name : saving artifacts
6468 uses : actions/upload-artifact@v2
6569 with :
You can’t perform that action at this time.
0 commit comments