Skip to content

Commit 9ffd9e0

Browse files
authored
Update build_wheels_linux.yml
1 parent 8ea852c commit 9ffd9e0

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,29 @@ on:
1818

1919
jobs:
2020
Build:
21-
runs-on: ubuntu-22.04
21+
runs-on: ${{ matrix.platform == 'aarch64' && 'opencv-cn-lin-arm64' || 'ubuntu-22.04' }}
2222
defaults:
2323
run:
2424
shell: bash
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ['3.9']
29-
platform: [x64, aarch64]
30-
manylinux: [2014, 2_28]
31-
with_contrib: [0, 1]
32-
without_gui: [0, 1]
33-
build_sdist: [0]
28+
include:
29+
- python-version: "3.9"
30+
platform: x64
31+
manylinux: 2014
32+
docker-image: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20250630
33+
- python-version: "3.9"
34+
platform: x64
35+
manylinux: 2_28
36+
docker-image: quay.io/opencv-ci/opencv-python-manylinux_2_28-x86-64:20251013
37+
- python-version: "3.9"
38+
platform: aarch64
39+
manylinux: 2_28
40+
docker-image: quay.io/opencv-ci/opencv-python-manylinux_2_28-aarch64:20251013
41+
with_contrib: [0, 1]
42+
without_gui: [0, 1]
43+
build_sdist: [0]
3444
env:
3545
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
3646
REPO_DIR: .
@@ -40,7 +50,7 @@ jobs:
4050
MB_ML_VER: ${{ matrix.manylinux }}
4151
TRAVIS_BUILD_DIR: ${{ github.workspace }}
4252
CONFIG_PATH: travis_config.sh
43-
DOCKER_IMAGE: ${{ matrix.manylinux == '2014' && (matrix.platform == 'x64' && 'quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20250630') || '' || (matrix.platform == 'x64' && 'quay.io/opencv-ci/opencv-python-manylinux_2_28-x86-64:20251013') || 'quay.io/opencv-ci/opencv-python-manylinux_2_28-aarch64:20251013' }}
53+
DOCKER_IMAGE: ${{ matrix.docker-image }}
4454
USE_CCACHE: 0
4555
UNICODE_WIDTH: 32
4656
PLAT: ${{ matrix.platform == 'x64' && 'x86_64' || 'aarch64' }}

0 commit comments

Comments
 (0)