@@ -63,89 +63,13 @@ jobs:
63
63
strategy :
64
64
# Ensure that a wheel builder finishes even if another fails
65
65
fail-fast : false
66
- # For build identier, see:
67
- # https://cibuildwheel.pypa.io/en/stable/options/#build-skip
68
66
matrix :
69
- # See more build combinations at "Make CIBW_BUILD list" steps below
70
67
os : [macos-latest, ubuntu-latest, windows-latest]
71
68
python-version : ["3.13"]
72
- # python-version: ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8", "3.7", "pypy3.10", "pypy3.9", "pypy3.8", "pypy3.7"]
73
- # bitness: [64, 32]
74
- # include:
75
- # - os: windows-latest
76
- # bitness: 64
77
- # platform_id: win_amd64
78
- # - os: windows-latest
79
- # bitness: 32
80
- # platform_id: win32
81
- # exclude:
82
- # - os: macos-latest
83
- # bitness: 32
84
- # - os: macos-latest
85
- # python-version: "3.7"
86
- # - os: macos-latest
87
- # python-version: "pypy3.7"
88
69
env :
89
- CP_VER : " "
90
- CIBW_BUILD : " " # let cibuildwheel cover the supported platforms
70
+ CIBW_BUILD : " " # blank, let cibuildwheel build all supported platforms
91
71
92
72
steps :
93
- # cibuildwheel needs a specific Python implementation ID
94
- - name : Make Python implementation ID (non-Windows)
95
- id : convert-version-id
96
- if : startsWith(matrix.os, 'windows-') == false
97
- run : |
98
- PYTHON_VERSION=${{ matrix.python-version }}
99
- if [[ "$PYTHON_VERSION" == pypy* ]]; then
100
- CP_VER="pp${PYTHON_VERSION:4}"
101
- CP_VER="${CP_VER//./}"
102
- else
103
- CP_VER="cp${PYTHON_VERSION//./}"
104
- fi
105
- echo "Python version: $CP_VER"
106
- echo "CP_VER=$CP_VER" >> $GITHUB_ENV
107
-
108
- - name : Make Python implementation ID (Windows)
109
- id : convert-version-id-win
110
- if : startsWith(matrix.os, 'windows-')
111
- shell : powershell
112
- run : |
113
- $PYTHON_VERSION = "${{ matrix.python-version }}"
114
- if ($PYTHON_VERSION -like "pypy*") {
115
- $CP_VER = "pp" + $PYTHON_VERSION.Substring(4).Replace(".", "")
116
- } else {
117
- $CP_VER = "cp" + $PYTHON_VERSION.Replace(".", "")
118
- }
119
- echo "Python version: $CP_VER"
120
- echo "CP_VER=$CP_VER" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
121
-
122
- # - name: Make CIBW_BUILD list (macOS)
123
- # if: startsWith(matrix.os, 'macos-')
124
- # run: echo "CIBW_BUILD=${{ env.CP_VER }}-macosx*" >> $GITHUB_ENV
125
-
126
- # - name: Make CIBW_BUILD list (Linux 64-bit)
127
- # if: startsWith(matrix.os, 'ubuntu-') && matrix.bitness == 64
128
- # run: |
129
- # CP_VER=${{ env.CP_VER }}
130
- # CIBW_BUILD="$CP_VER-manylinux_x86_64"
131
- # if [[ "$CP_VER" != pp* ]]; then
132
- # CIBW_BUILD="$CIBW_BUILD $CP_VER-musllinux_x86_64"
133
- # fi
134
- # echo "CIBW_BUILD: $CIBW_BUILD"
135
- # echo "CIBW_BUILD=$CIBW_BUILD" >> $GITHUB_ENV
136
-
137
- # - name: Make CIBW_BUILD list (Linux 32-bit)
138
- # if: startsWith(matrix.os, 'ubuntu-') && matrix.bitness == 32
139
- # run: |
140
- # CP_VER=${{ env.CP_VER }}
141
- # CIBW_BUILD="$CP_VER-manylinux_i686"
142
- # echo "CIBW_BUILD: $CIBW_BUILD"
143
- # echo "CIBW_BUILD=$CIBW_BUILD" >> $GITHUB_ENV
144
-
145
- # - name: Make CIBW_BUILD list (Windows)
146
- # if: startsWith(matrix.os, 'windows-')
147
- # run: CIBW_BUILD=${{ env.CP_VER }}-${{ matrix.platform_id }}" >> $GITHUB_ENV
148
-
149
73
- name : Checkout source code
150
74
uses : actions/checkout@v4
151
75
174
98
output-dir : wheelhouse
175
99
env :
176
100
CIBW_BUILD_VERBOSITY : 1
177
- # See CIBW_ARCHS and other build selectors at:
101
+ # See CIBW_BUILD, CIBW_SKIP, CIBW_ARCHS and other build selectors at:
178
102
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
103
+ CIBW_SKIP : " cp37-musllinux_i686"
179
104
CIBW_ARCHS_MACOS : " x86_64 arm64"
180
105
CIBW_ENVIRONMENT_MACOS : |
181
106
MACOSX_DEPLOYMENT_TARGET=10.9
0 commit comments