-
Notifications
You must be signed in to change notification settings - Fork 35
35 lines (29 loc) · 903 Bytes
/
Copy pathbuildwheel.yml
File metadata and controls
35 lines (29 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build wheels
on: workflow_dispatch
jobs:
build_wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-22.04]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup pip
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install cibuildwheel
- name: Build wheel
run: python -m cibuildwheel --output-dir dist/
env:
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 i686"
CIBW_SKIP: "*-musllinux_*"
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: ./dist/*.whl