File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Build wheels
2626 run : python -m cibuildwheel --output-dir wheelhouse
2727
28- - name : Test wheels in virtual environments
29- run : |
30- for wheel in wheelhouse/*.whl; do
31- # Skip PyPy wheels for now (they need different handling)
32- if [[ $wheel == *"pypy"* ]]; then
33- echo "Skipping PyPy wheel: $wheel"
34- continue
35- fi
36-
37- # Extract Python version from wheel name
38- if [[ $wheel =~ cp([0-9]{2}) ]]; then
39- PY_VERSION="${BASH_REMATCH[1]}"
40- echo "Testing wheel $wheel with Python 3.${PY_VERSION}"
41-
42- # Create new venv for this wheel
43- python3.${PY_VERSION} -m venv .venv-${PY_VERSION}
44- source .venv-${PY_VERSION}/bin/activate
45-
46- # Install and test wheel
47- pip install "$wheel"
48- python -c "import synapse"
49- deactivate
50-
51- # Clean up
52- rm -rf .venv-${PY_VERSION}
53- fi
54- done
55-
5628 - uses : actions/upload-artifact@v4
5729 with :
5830 name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
You can’t perform that action at this time.
0 commit comments