Skip to content

Commit

Permalink
build pyodide with cibuildwheel, build for py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
viblo committed Sep 7, 2024
1 parent cfa5264 commit b502481
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
python3 -c "import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])"
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.1
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_BUILD:
"cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* pp39-* pp310-*"
"cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp39-* pp310-*"
CIBW_TEST_COMMAND: "python -m pymunk.tests"
CIBW_BUILD_VERBOSITY: 3
with:
Expand Down Expand Up @@ -55,17 +55,9 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: "3.11.2"
- run: |
pip install pyodide-build>=0.23.3
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
- uses: mymindstorm/setup-emsdk@v14
with:
version: ${{ env.EMSCRIPTEN_VERSION }}
- run: pyodide build
- uses: pypa/[email protected]
env:
CIBW_PLATFORM: pyodide
PYMUNK_BUILD_SLIM: 1
- uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit b502481

Please sign in to comment.