Skip to content

Commit 64983bf

Browse files
authored
Update wheels.yml
1 parent ae3daf6 commit 64983bf

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,20 @@ jobs:
2828
uses: actions/setup-python@v5
2929
with:
3030
python-version: 3.x
31-
- name: Install cibuildwheel
32-
run: pip install cibuildwheel
3331
- name: Build wheels
34-
run: cibuildwheel --output-dir wheelhouse .
32+
uses: pypa/cibuildwheel@v2.22.0
33+
with:
34+
package-dir: .
35+
env:
36+
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
37+
OMPL_BUILD_ARCH: ${{ matrix.arch }}
38+
# NOTE: Many combinations of OS, arch, and Python version can be built
39+
# depending on your patience. For example:
40+
CIBW_BUILD: cp3{10,11,12,13}-macosx_${{ matrix.arch }}cp3{10,11,12,13}-manylinux_${{ matrix.arch }}
41+
CIBW_BUILD_VERBOSITY: 1
42+
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET="14.0"
3543
- name: Upload wheels artifact
3644
uses: actions/upload-artifact@v4
3745
with:
3846
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
39-
path: wheelhouse/*.whl
47+
path: wheelhouse

0 commit comments

Comments
 (0)