Skip to content

Commit ab7b5d7

Browse files
authored
Update build_wheels_linux.yml
1 parent f9f06cc commit ab7b5d7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,16 @@ jobs:
7777

7878
Test:
7979
needs: [Build]
80-
runs-on: ubuntu-22.04
80+
runs-on: ${{ matrix.platform == 'aarch64' && 'opencv-cn-lin-arm64' || 'ubuntu-22.04' }}
8181
defaults:
8282
run:
8383
shell: bash
8484
strategy:
8585
fail-fast: false
8686
matrix:
8787
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
88-
platform: [x64]
88+
platform: [x86_64, aarch64]
89+
manylinux: [2014, 2_28]
8990
with_contrib: [0, 1]
9091
without_gui: [0, 1]
9192
build_sdist: [0]
@@ -95,7 +96,10 @@ jobs:
9596
NP_TEST_DEP: numpy==1.19.4
9697
NP_TEST_DEP_LATEST: numpy==2.2.6
9798
CONFIG_PATH: travis_config.sh
98-
PLAT: x86_64
99+
PLAT: ${{ matrix.platform == 'x86_64' && 'x86_64' || 'aarch64' }}
100+
SDIST: ${{ matrix.build_sdist || 0 }}
101+
ENABLE_HEADLESS: ${{ matrix.without_gui }}
102+
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
99103
steps:
100104
- name: Cleanup
101105
run: find . -mindepth 1 -delete
@@ -105,6 +109,7 @@ jobs:
105109
with:
106110
submodules: true
107111
fetch-depth: 0
112+
108113
- name: Setup Environment variables
109114
run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ 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
110115
- name: Download a wheel accordingly to matrix

0 commit comments

Comments
 (0)