File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 27
27
build_sdist : [0]
28
28
29
29
env :
30
+ CI_BUILD : 1
30
31
SDIST : ${{ matrix.build_sdist || 0 }}
31
32
ENABLE_HEADLESS : ${{ matrix.without_gui }}
32
33
ENABLE_CONTRIB : ${{ matrix.with_contrib }}
@@ -50,16 +51,20 @@ jobs:
50
51
echo $ENABLE_HEADLESS > headless.enabled
51
52
export MACOSX_DEPLOYMENT_TARGET=11.0
52
53
arch -arm64 python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
54
+ delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
55
+
53
56
- name : before test
54
57
run : |
55
58
git submodule update --init --recursive
56
59
arch -arm64 python${{ matrix.python-version }} -m pip install --user --no-cache --force-reinstall wheelhouse/opencv*.whl
57
60
cd ${{ github.workspace }}/tests
58
61
arch -arm64 python${{ matrix.python-version }} get_build_info.py
62
+
59
63
- name : run test
60
64
run : |
61
65
cd ${{ github.workspace }}/opencv
62
66
arch -arm64 python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
67
+
63
68
- name : saving artifacts
64
69
uses : actions/upload-artifact@v2
65
70
with :
You can’t perform that action at this time.
0 commit comments