41
41
MB_ML_VER : 2014
42
42
TRAVIS_BUILD_DIR : ${{ github.workspace }}
43
43
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
45
45
USE_CCACHE : 0
46
46
UNICODE_WIDTH : 32
47
47
PLAT : x86_64
@@ -58,10 +58,10 @@ jobs:
58
58
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
59
59
fi
60
60
- 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 }}"
65
65
- name : Build a package
66
66
run : source scripts/build.sh
67
67
- name : Saving all wheels
@@ -101,10 +101,10 @@ jobs:
101
101
run : find . -mindepth 1 -delete
102
102
working-directory : ${{ github.workspace }}
103
103
- 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 }}"
108
108
- name : Setup Environment variables
109
109
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
110
110
- name : Download a wheel accordingly to matrix
@@ -139,7 +139,7 @@ jobs:
139
139
NP_TEST_DEP : numpy==1.19.4
140
140
TRAVIS_BUILD_DIR : ${{ github.workspace }}
141
141
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
143
143
USE_CCACHE : 1
144
144
UNICODE_WIDTH : 32
145
145
SDIST : ${{ matrix.build_sdist || 0 }}
@@ -155,10 +155,10 @@ jobs:
155
155
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
156
156
fi
157
157
- 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 }}"
162
162
- name : Set up Python ${{ matrix.python-version }}
163
163
uses : actions/setup-python@v4
164
164
with :
0 commit comments