File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags :
66 - ' v*'
77 workflow_dispatch :
8+ build_wheels :
9+ name : Build wheels on ${{ matrix.os }}
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest, windows-latest, macos-latest]
814
9- jobs :
10- build_wheels :
11- name : Build wheels on ${{ matrix.os }}
12- runs-on : ${{ matrix.os }}
13- strategy :
14- matrix :
15- os : [ubuntu-latest, windows-latest, macos-latest]
16- env :
17- CIBW_VENV_TOOL : venv
18- CIBW_VIRTUALENV_VERSION : " "
15+ steps :
16+ - uses : actions/checkout@v4
1917
20- steps :
21- - uses : actions/checkout@v4
18+ - name : Set up Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : " 3.10"
22+
23+ - name : Install cibuildwheel
24+ run : pip install cibuildwheel==2.21.3
2225
23- - name : Build wheels
24- uses : pypa/cibuildwheel@v2.21.3
25- env :
26- # Configure cibuildwheel
27- CIBW_SKIP : " pp* *-musllinux*" # Skip PyPy and Musl Linux
28- CIBW_ARCHS_MACOS : " x86_64 arm64" # Universal Mac support
29- # Ensure dependencies are available
30- CIBW_BEFORE_BUILD : " pip install pybind11"
26+ - name : Build wheels
27+ run : cibuildwheel --output-dir wheelhouse
28+ env :
29+ CIBW_VENV_TOOL : venv
30+ CIBW_SKIP : " pp* *-musllinux*"
31+ CIBW_ARCHS_MACOS : " x86_64 arm64"
32+ CIBW_BEFORE_BUILD : " pip install pybind11"
3133
3234 - uses : actions/upload-artifact@v4
3335 with :
You can’t perform that action at this time.
0 commit comments