Skip to content

Commit fe0d3bd

Browse files
committed
Use local pypi mirror for self-hosted runners
1 parent 8efd7aa commit fe0d3bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build_wheels_linux_arm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
SDIST: ${{ matrix.build_sdist || 0 }}
4949
ENABLE_HEADLESS: ${{ matrix.without_gui }}
5050
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
51+
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
5152
steps:
5253
- name: Cleanup
5354
run: find . -mindepth 1 -delete
@@ -98,6 +99,7 @@ jobs:
9899
CONFIG_PATH: travis_config.sh
99100
DOCKER_TEST_IMAGE: multibuild/focal_arm64v8
100101
UNICODE_WIDTH: 32
102+
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
101103
steps:
102104
- name: Cleanup
103105
run: find . -mindepth 1 -delete

.github/workflows/build_wheels_macos_m1.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
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
@@ -82,6 +83,7 @@ jobs:
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

0 commit comments

Comments
 (0)