-
Notifications
You must be signed in to change notification settings - Fork 21
49 lines (45 loc) · 1.32 KB
/
run-cibuildwheel.yml
File metadata and controls
49 lines (45 loc) · 1.32 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Borrowing from pycares/cyares
on:
workflow_call:
inputs:
fail-fast:
description: Whether the wheel build should stop and fail as soon as any job fails.
required: false
default: false
type: boolean
prerelease-pythons:
description: Whether the wheels should be built for pre-release Pythons that are not ABI stable yet.
required: false
default: false
type: boolean
env:
# PyPy is currently unsupported.
CIBW_SKIP: pp*
jobs:
build_wheels:
name: Build wheels for ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
include:
# NOTE: This does compile on Linux but linux fails pytest
- name: Windows
os: windows-latest
- name: Windows arm64
os: windows-11-arm
steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: Enable CPython prerelease
if: ${{ inputs.prerelease-pythons }}
run: echo "CIBW_ENABLE=cpython-prerelease" >> $GITHUB_ENV
- name: Build wheels
uses: pypa/cibuildwheel@v3.4.0
with:
output-dir: dist
- uses: actions/upload-artifact@v6
with:
name: wheels-${{ matrix.os }}
path: dist/*.whl