4141 MB_ML_VER : 2014
4242 TRAVIS_BUILD_DIR : ${{ github.workspace }}
4343 CONFIG_PATH : travis_config.sh
44- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20240524
44+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20241202
4545 USE_CCACHE : 0
4646 UNICODE_WIDTH : 32
4747 PLAT : x86_64
@@ -58,10 +58,10 @@ jobs:
5858 echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
5959 fi
6060 - name : Checkout
61- uses : actions/checkout@v3
62- with :
63- submodules : false
64- fetch- depth: 0
61+ run : |
62+ echo "Source branch name: ${{ github.head_ref }}"
63+ echo "Target branch name: ${{ github.base_ref }}"
64+ git clone -- depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
6565 - name : Build a package
6666 run : source scripts/build.sh
6767 - name : Saving all wheels
@@ -101,10 +101,10 @@ jobs:
101101 run : find . -mindepth 1 -delete
102102 working-directory : ${{ github.workspace }}
103103 - name : Checkout
104- uses : actions/checkout@v3
105- with :
106- submodules : true
107- fetch- depth: 0
104+ run : |
105+ echo "Source branch name: ${{ github.head_ref }}"
106+ echo "Target branch name: ${{ github.base_ref }}"
107+ git clone -- depth 1 --recurse-submodules -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
108108 - name : Setup Environment variables
109109 run : if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; fi
110110 - name : Download a wheel accordingly to matrix
@@ -139,7 +139,7 @@ jobs:
139139 NP_TEST_DEP : numpy==1.19.4
140140 TRAVIS_BUILD_DIR : ${{ github.workspace }}
141141 CONFIG_PATH : travis_config.sh
142- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20240524
142+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20241202
143143 USE_CCACHE : 1
144144 UNICODE_WIDTH : 32
145145 SDIST : ${{ matrix.build_sdist || 0 }}
@@ -155,10 +155,10 @@ jobs:
155155 echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
156156 fi
157157 - name : Checkout
158- uses : actions/checkout@v3
159- with :
160- submodules : false
161- fetch- depth: 0
158+ run : |
159+ echo "Source branch name: ${{ github.head_ref }}"
160+ echo "Target branch name: ${{ github.base_ref }}"
161+ git clone -- depth 1 -b "${{ github.head_ref }}" "https://github.com/${{ github.event.pull_request.head.repo.full_name }}" "${{ github.workspace }}"
162162 - name : Set up Python ${{ matrix.python-version }}
163163 uses : actions/setup-python@v4
164164 with :
0 commit comments