File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests (WASM)
2+
3+ on : # same cadence as build.yml ("same as other tests")
4+ push :
5+ branches : ['**']
6+ pull_request :
7+ branches : [main]
8+
9+ env :
10+ CIBW_BUILD_VERBOSITY : 1
11+
12+ jobs :
13+ test_wasm :
14+ name : Build & test WASM/Pyodide wheel (Python 3.14)
15+ runs-on : ubuntu-latest
16+ env :
17+ CIBW_BUILD : " cp314-*"
18+ CIBW_PYODIDE_VERSION : " 314.0.0"
19+ # WASM/Pyodide has no SIMD/runtime CPU detection; disable optimised paths
20+ CMAKE_ARGS : " -DWITH_ZLIB_OPTIM=OFF -DWITH_OPTIM=OFF -DWITH_RUNTIME_CPU_DETECTION=OFF"
21+ # cibuildwheel runs the suite automatically in the node/pyodide runtime
22+ CIBW_TEST_COMMAND : " pytest {project}/tests"
23+ steps :
24+ - uses : actions/checkout@v6
25+ - uses : actions/setup-python@v6
26+ with :
27+ python-version : ' 3.x'
28+ - name : Install build dependencies
29+ run : sudo apt-get update && sudo apt-get install -y cmake
30+ - name : Install cibuildwheel
31+ run : pip install "cibuildwheel==4.1.*"
32+ - name : Build and test wheel
33+ run : cibuildwheel --platform pyodide # platform=pyodide is CLI-only
You can’t perform that action at this time.
0 commit comments