File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,26 +347,37 @@ jobs:
347347 needs : [ruff, mypy, sdist]
348348 runs-on : ubuntu-26.04
349349 timeout-minutes : 15
350+ strategy :
351+ fail-fast : false
352+ matrix :
353+ include : # https://pyodide.org/en/stable/development/abi.html
354+ - python : " cp313"
355+ sdl-version : " 3.2.4" # For Emscripten 4.0.9
356+ - python : " cp314"
357+ sdl-version : " 3.2.30" # For Emscripten 5.0.3
358+ - python : " cp315"
359+ sdl-version : " 3.4.2" # For Emscripten 6.0.5
350360 steps :
351361 - uses : actions/checkout@v7
352362 with :
353363 persist-credentials : false
354364 fetch-depth : ${{ env.git-depth }}
355365 - name : Checkout submodules
356366 run : git submodule update --init --recursive --depth 1
357- - uses : libsdl-org/setup-sdl@1894460666e4fe0c6603ea0cce5733f1cca56ba1
367+ - uses : libsdl-org/setup-sdl@v1.0.1
358368 with :
359369 install-linux-dependencies : true
360370 build-type : " Debug"
361- version : " 3.2.4 " # Should be equal or less than the version used by Emscripten
371+ version : ${{ matrix.sdl-version }} # Should be equal or less than the version used by Emscripten
362372 - uses : pypa/cibuildwheel@v4.3.3
363373 env :
364- CIBW_BUILD : cp313 -pyodide_wasm32
374+ CIBW_BUILD : ${{ matrix.python }} -pyodide_wasm32
365375 CIBW_PLATFORM : pyodide
376+ SDL_VERSION : ${{ matrix.sdl-version }}
366377 - name : Archive wheel
367378 uses : actions/upload-artifact@v7
368379 with :
369- name : wheels-pyodide
380+ name : wheels-pyodide-${{ matrix.python }}
370381 path : wheelhouse/*.whl
371382 retention-days : 30
372383 compression-level : 0
You can’t perform that action at this time.
0 commit comments