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 : Build wheels
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+ pull_request :
8+ paths :
9+ - ' .github/workflows/wheels.yml'
10+ - ' pyproject.toml'
11+ - ' setup.py'
12+ - ' pynuodb/_fetch.pyx'
13+ workflow_dispatch :
14+
15+ jobs :
16+ build_wheels :
17+ name : Wheels on ${{ matrix.os }}
18+ runs-on : ${{ matrix.os }}
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ os : [ubuntu-latest, macos-latest, windows-latest]
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ # Emulate aarch64 for Linux ARM wheels; cibuildwheel drives it via QEMU.
28+ - name : Set up QEMU
29+ if : matrix.os == 'ubuntu-latest'
30+ uses : docker/setup-qemu-action@v3
31+ with :
32+ platforms : arm64
33+
34+ - name : Build wheels
35+ uses : pypa/cibuildwheel@v2.21.3
36+
37+ - uses : actions/upload-artifact@v4
38+ with :
39+ name : wheels-${{ matrix.os }}
40+ path : ./wheelhouse/*.whl
41+
42+ build_sdist :
43+ name : Source distribution
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+
48+ - name : Build sdist
49+ run : pipx run build --sdist
50+
51+ - uses : actions/upload-artifact@v4
52+ with :
53+ name : sdist
54+ path : dist/*.tar.gz
You can’t perform that action at this time.
0 commit comments