forked from capytaine/capytaine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update build_wheel action (capytaine#597)
- Loading branch information
Showing
2 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,35 @@ jobs: | |
version: '13' | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: "pp* *i686* *musllinux* *win32*" | ||
# Package the DLL dependencies in the wheel for windows (done by default for the other platforms). | ||
# delvewheel cannot mangle the libraries, stripping does not work. | ||
CIBW_SKIP: "pp* *i686* *musllinux*" | ||
# As of Sept 2024, Python 3.13 is troublesome because of lack of Pandas for Python 3.13. | ||
|
||
- name: Build wheels | ||
if: matrix.os == 'macos-12' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: "pp* cp313*" | ||
CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=12.0 | ||
|
||
- name: Build wheels | ||
if: matrix.os == 'macos-14' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: "pp* cp313*" | ||
CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=14.0 | ||
|
||
- name: Build wheels | ||
if: matrix.os == 'windows-2019' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: "pp* cp313* *win32*" | ||
CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel | ||
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel show {wheel} && delvewheel repair -w {dest_dir} {wheel} --no-mangle-all" | ||
# with: | ||
# package-dir: . | ||
# output-dir: wheelhouse | ||
# config-file: "{package}/pyproject.toml" | ||
# Package the DLL dependencies in the wheel for windows (done by default for the other platforms). | ||
# delvewheel cannot mangle the libraries, stripping does not work. | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters