-
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.
Build wheels for PyPy on macOS (#33)
* Try older setuptools to build macOS PyPy wheels * Updated classifiers and added comment explaining setuptools version * Use cibuildwheel GHA instead of specifying command * Explicitly request PyPy wheels * cibuildwheel will disable them by default in the future
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 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 |
---|---|---|
|
@@ -10,12 +10,11 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pipx install cibuildwheel==2.21.3 | ||
- run: cibuildwheel --output-dir wheelhouse | ||
- uses: pypa/[email protected] | ||
with: | ||
output-dir: wheelhouse | ||
env: | ||
# The Apple linker does not recognise one of the flags passed to it | ||
# while building for PyPy. Skip it. | ||
CIBW_SKIP: pp*-macosx* | ||
CIBW_BUILD: cp* pp* | ||
CIBW_TEST_COMMAND: python -m unittest discover -s {package}/tests -t {package} | ||
- 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