@@ -22,10 +22,10 @@ jobs:
22
22
python3 -c "import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])"
23
23
24
24
- name : Build wheels
25
- uses : pypa/cibuildwheel@v2.23.3
25
+ uses : pypa/cibuildwheel@v3.0.0
26
26
env :
27
27
CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313-* pp310-* pp311-*"
28
- CIBW_TEST_COMMAND : " python -m pymunk.tests"
28
+ # CIBW_TEST_COMMAND: "python -m pymunk.tests"
29
29
# CIBW_BUILD_VERBOSITY: 3
30
30
with :
31
31
package-dir : " $SDIST_PATH"
55
55
- uses : actions/checkout@v4
56
56
with :
57
57
submodules : true
58
- - uses : pypa/cibuildwheel@v2.23.3
58
+ - uses : pypa/cibuildwheel@v3.0.0
59
59
env :
60
60
CIBW_PLATFORM : pyodide
61
- PYMUNK_BUILD_SLIM : 1
62
- CIBW_TEST_COMMAND : " python -m pymunk.tests"
63
61
- uses : actions/upload-artifact@v4
64
62
if : ${{ github.ref == 'refs/heads/master' }}
65
63
with :
@@ -73,34 +71,21 @@ jobs:
73
71
- name : Checkout
74
72
uses : actions/checkout@v4
75
73
with :
76
- submodules : true
77
- - name : Set up Python
78
- uses : actions/setup-python@v5
79
- with :
80
- python-version : " 3.x"
81
- - name : Install cibuildwheel
82
- run : |
83
- python -m pip install -U pip
84
- # Use main branch until iOS support is released.
85
- # python -m pip install cibuildwheel==3.0.0
86
- python -m pip install git+https://github.com/pypa/cibuildwheel.git
87
-
74
+ submodules : true
75
+ - run : brew upgrade cmake
88
76
- name : Build wheels
89
- run : python -m cibuildwheel
77
+
78
+
90
79
env :
91
- IPHONEOS_DEPLOYMENT_TARGET : " 12.0"
92
80
CIBW_PLATFORM : ios
93
- CIBW_ARCHS : auto
81
+ CIBW_ARCHS : all
94
82
CIBW_BUILD_VERBOSITY : 1
95
83
CIBW_BEFORE_BUILD_IOS : |
96
84
# download wheel and pretend that it's compatible with the current platform settings
97
85
curl https://files.pythonhosted.org/packages/8b/f1/672d303ddf17c24fc83afd712316fda78dc6fce1cd53011b839483e1ecc8/cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl -L -o cffi-1.17.1-py3-none-any.whl && \
98
86
pip install cffi-1.17.1-py3-none-any.whl && \
99
87
# install the rest of the dependencies
100
88
python -m pip install setuptools wheel
101
- CIBW_XBUILD_TOOLS : " curl pkg-config tar"
102
- CIBW_BUILD_FRONTEND : " pip; args: --no-build-isolation"
103
- PYMUNK_BUILD_SLIM : 1
104
89
105
90
- uses : actions/upload-artifact@v4
106
91
if : ${{ github.ref == 'refs/heads/master' }}
0 commit comments