File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ jobs:
152152 CIBW_BUILD : ${{ matrix.python }}-${{ matrix.buildplat[1] }}
153153 run : |
154154 if [[ $CIBW_BUILD == *pyodide_wasm32 ]]; then
155+ # specifying CIBW_PLATFORM is required to get the wasm build to work
155156 export CIBW_PLATFORM="pyodide"
156157 fi
157158 python -m pip install cibuildwheel==3.1.1
Original file line number Diff line number Diff line change @@ -34,3 +34,13 @@ repair-wheel-command = "bash -el ./tools/wheels/repair_windows.sh {wheel} {dest_
3434select = [" *-win32" ]
3535config-settings = {setup-args = [" --vsenv" , " -Dallow-noblas=true" ], build-dir =" build" }
3636repair-wheel-command = " "
37+
38+ [tool .cibuildwheel .pyodide ]
39+ before-test = " pip install -r {project}/requirements/emscripten_test_requirements.txt"
40+ # Pyodide ensures that the wheels are already repaired by auditwheel-emscripten
41+ repair-wheel-command = " "
42+ test-command = " python -m pytest --pyargs numpy -m 'not slow'"
43+
44+ [tool .cibuildwheel .pyodide .config-settings ]
45+ build-dir = " build"
46+ setup-args = [" --cross-file=$PWD/tools/ci/emscripten/emscripten.meson.cross" , " -Dblas=none" , " -Dlapack=none" ]
You can’t perform that action at this time.
0 commit comments