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:
152
152
CIBW_BUILD : ${{ matrix.python }}-${{ matrix.buildplat[1] }}
153
153
run : |
154
154
if [[ $CIBW_BUILD == *pyodide_wasm32 ]]; then
155
+ # specifying CIBW_PLATFORM is required to get the wasm build to work
155
156
export CIBW_PLATFORM="pyodide"
156
157
fi
157
158
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_
34
34
select = [" *-win32" ]
35
35
config-settings = {setup-args = [" --vsenv" , " -Dallow-noblas=true" ], build-dir =" build" }
36
36
repair-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