File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,21 @@ jobs:
49
49
echo $ENABLE_CONTRIB > contrib.enabled
50
50
echo $ENABLE_HEADLESS > headless.enabled
51
51
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
+
53
55
- name : before test
54
56
run : |
55
57
git submodule update --init --recursive
56
58
arch -arm64 python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
57
59
cd ${{ github.workspace }}/tests
58
60
arch -arm64 python${{ matrix.python-version }} get_build_info.py
61
+
59
62
- name : run test
60
63
run : |
61
64
cd ${{ github.workspace }}/opencv
62
65
arch -arm64 python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
66
+
63
67
- name : saving artifacts
64
68
uses : actions/upload-artifact@v2
65
69
with :
You can’t perform that action at this time.
0 commit comments