File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3434 SDIST : ${{ matrix.build_sdist || 0 }}
3535 ENABLE_HEADLESS : ${{ matrix.without_gui }}
3636 ENABLE_CONTRIB : ${{ matrix.with_contrib }}
37+ PIP_INDEX_URL : https://pypi.tuna.tsinghua.edu.cn/simple
3738 steps :
3839 - name : Cleanup
3940 run : find . -mindepth 1 -delete
8283 env :
8384 OPENCV_TEST_DATA_PATH : ${{ github.workspace }}/opencv_extra/testdata
8485 PYLINT_TEST_FILE : ${{ github.workspace }}/opencv/samples/python/squares.py
86+ PIP_INDEX_URL : https://pypi.tuna.tsinghua.edu.cn/simple
8587 steps :
8688 - name : Cleanup
8789 run : find . -mindepth 1 -delete
Original file line number Diff line number Diff line change 3636 echo " > Linux environment "
3737 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/opt/Qt5.15.0/lib
3838 export MAKEFLAGS=" -j$( grep -E ' ^processor[[:space:]]*:' /proc/cpuinfo | wc -l) "
39+ CURRENT_ARCH=$( uname -m)
40+ if [[ $CURRENT_ARCH == ' aarch64' ]]; then
41+ # To avoid network issues with pypi.org on OpenCV CN machines
42+ export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
43+ echo " Running for linux aarch64"
44+ fi
3945fi
4046
4147if [ -n " $IS_OSX " ]; then
You can’t perform that action at this time.
0 commit comments