chore(ci): split emulation tests per architecture (#1839)
This commit is contained in:
+6
-1
@@ -13,8 +13,12 @@ import sys
|
||||
from tempfile import TemporaryDirectory
|
||||
from typing import Final
|
||||
|
||||
from cibuildwheel.architecture import Architecture
|
||||
from cibuildwheel.util import CIBW_CACHE_PATH
|
||||
|
||||
EMULATED_ARCHS: Final[list[str]] = sorted(
|
||||
arch.value for arch in (Architecture.all_archs("linux") - Architecture.auto_archs("linux"))
|
||||
)
|
||||
SINGLE_PYTHON_VERSION: Final[tuple[int, int]] = (3, 12)
|
||||
|
||||
platform: str
|
||||
@@ -154,6 +158,7 @@ def expected_wheels(
|
||||
python_abi_tags=None,
|
||||
include_universal2=False,
|
||||
single_python=False,
|
||||
single_arch=False,
|
||||
):
|
||||
"""
|
||||
Returns a list of expected wheels from a run of cibuildwheel.
|
||||
@@ -237,7 +242,7 @@ def expected_wheels(
|
||||
if platform == "linux":
|
||||
architectures = [arch_name_for_linux(machine_arch)]
|
||||
|
||||
if machine_arch == "x86_64":
|
||||
if machine_arch == "x86_64" and not single_arch:
|
||||
architectures.append("i686")
|
||||
|
||||
if len(manylinux_versions) > 0:
|
||||
|
||||
Reference in New Issue
Block a user