File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 38
38
39
39
# Build the wheels for Linux, Windows and macOS for Python 3.6 and newer
40
40
build_wheels :
41
- name : Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}
41
+ name : Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}
42
42
runs-on : ${{ matrix.os }}
43
43
needs : check_build_trigger
44
44
if : needs.check_build_trigger.outputs.build
50
50
os : [windows-latest, ubuntu-latest, macos-latest]
51
51
python : [36, 37, 38, 39]
52
52
bitness : [32, 64]
53
+ manylinux_image : [manylinux1, manylinux2010]
53
54
include :
54
55
# Run 32 and 64 bit version in parallel for Linux and Windows
55
56
- os : windows-latest
70
71
exclude :
71
72
- os : macos-latest
72
73
bitness : 32
74
+ # Remove manylinux1 from the windows and osx build matrix since
75
+ # manylinux_image is not used for these platforms
76
+ - os : windows-latest
77
+ manylinux_image : manylinux1
78
+ - os : macos-latest
79
+ manylinux_image : manylinux1
73
80
74
81
steps :
75
82
- name : Checkout scikit-learn
88
95
SKLEARN_BUILD_PARALLEL=3
89
96
MACOSX_DEPLOYMENT_TARGET=10.13
90
97
CIBW_BUILD : cp${{ matrix.python }}-${{ matrix.platform_id }}
98
+ CIBW_MANYLINUX_X86_64_IMAGE : ${{ matrix.manylinux_image }}
99
+ CIBW_MANYLINUX_I686_IMAGE : ${{ matrix.manylinux_image }}
91
100
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}
92
101
CIBW_BEFORE_TEST_WINDOWS : bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}
93
102
CIBW_TEST_REQUIRES : pytest pandas threadpoolctl
Original file line number Diff line number Diff line change 11
11
build_matrix = wheel_config ['jobs' ]['build_wheels' ]['strategy' ]['matrix' ]
12
12
n_python_versions = len (build_matrix ['python' ])
13
13
14
- # For each python version we have: 5 wheels
14
+ # For each python version we have: 7 wheels
15
15
# 1 osx wheel (x86_64)
16
- # 2 linux wheel (i686 + x86_64)
16
+ # 4 linux wheel (i686 + x86_64) * (manylinux1 + manylinux2010 )
17
17
# 2 windows wheel (win32 + wind_amd64)
18
- n_wheels = 5 * n_python_versions
18
+ n_wheels = 7 * n_python_versions
19
19
20
20
# plus one more for the sdist
21
21
n_wheels += 1
You can’t perform that action at this time.
0 commit comments