File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 34
34
SDIST : ${{ matrix.build_sdist || 0 }}
35
35
ENABLE_HEADLESS : ${{ matrix.without_gui }}
36
36
ENABLE_CONTRIB : ${{ matrix.with_contrib }}
37
+ PIP_INDEX_URL : https://pypi.tuna.tsinghua.edu.cn/simple
37
38
steps :
38
39
- name : Cleanup
39
40
run : find . -mindepth 1 -delete
82
83
env :
83
84
OPENCV_TEST_DATA_PATH : ${{ github.workspace }}/opencv_extra/testdata
84
85
PYLINT_TEST_FILE : ${{ github.workspace }}/opencv/samples/python/squares.py
86
+ PIP_INDEX_URL : https://pypi.tuna.tsinghua.edu.cn/simple
85
87
steps :
86
88
- name : Cleanup
87
89
run : find . -mindepth 1 -delete
Original file line number Diff line number Diff line change 36
36
echo " > Linux environment "
37
37
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/opt/Qt5.15.0/lib
38
38
export MAKEFLAGS=" -j$( grep -E ' ^processor[[:space:]]*:' /proc/cpuinfo | wc -l) "
39
+ if [[ $PLAT == ' aarch64' ]]; then
40
+ # To avoid network issues with pypi.org on OpenCV CN machines
41
+ export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
42
+ echo " Running for linux aarch64"
43
+ fi
39
44
fi
40
45
41
46
if [ -n " $IS_OSX " ]; then
You can’t perform that action at this time.
0 commit comments