Skip to content

Commit b502481

Browse files
committed
build pyodide with cibuildwheel, build for py3.12
1 parent cfa5264 commit b502481

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
python3 -c "import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])"
2222
2323
- name: Build wheels
24-
uses: pypa/cibuildwheel@v2.18.1
24+
uses: pypa/cibuildwheel@v2.20.0
2525
env:
2626
CIBW_BUILD:
27-
"cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* pp39-* pp310-*"
27+
"cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp39-* pp310-*"
2828
CIBW_TEST_COMMAND: "python -m pymunk.tests"
2929
CIBW_BUILD_VERBOSITY: 3
3030
with:
@@ -55,17 +55,9 @@ jobs:
5555
- uses: actions/checkout@v4
5656
with:
5757
submodules: true
58-
- uses: actions/setup-python@v5
59-
with:
60-
python-version: "3.11.2"
61-
- run: |
62-
pip install pyodide-build>=0.23.3
63-
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
64-
- uses: mymindstorm/setup-emsdk@v14
65-
with:
66-
version: ${{ env.EMSCRIPTEN_VERSION }}
67-
- run: pyodide build
58+
- uses: pypa/cibuildwheel@v2.19
6859
env:
60+
CIBW_PLATFORM: pyodide
6961
PYMUNK_BUILD_SLIM: 1
7062
- uses: actions/upload-artifact@v4
7163
if: ${{ github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)