Debian Codegraph @

.github/workflows/wheel-smoke.yml

raw symbols SCIP
1 name: Wheel smoke
2
3 # The release wheel matrix in ci.yml only runs after a version bump has already
4 # been tagged, so a build change that breaks a wheel target is discovered too
5 # late to block: the tag exists, upload_pypi is skipped, and the version never
6 # reaches PyPI. This builds the one target that has actually broken that way
7 # (manylinux armv7l cp313, emulated) whenever a build input changes on a PR.
8
9 on:
10 pull_request:
11 paths:
12 - "build_ext.py"
13 - "pyproject.toml"
14 - "src/**/*.pyx"
15 - "src/**/*.pxd"
16 - "src/**/*.h"
17 - ".github/workflows/wheel-smoke.yml"
18 workflow_dispatch:
19
20 permissions:
21 contents: read
22
23 concurrency:
24 group: wheel-smoke-${{ github.head_ref || github.run_id }}
25 cancel-in-progress: true
26
27 jobs:
28 armv7l:
29 name: manylinux armv7l cp313 wheel
30 runs-on: ubuntu-latest
31 steps:
32 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
33 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
34 with:
35 python-version: "3.12"
36 - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
37 with:
38 platforms: all
39 # Keep in sync with ci.yml's build_wheels job
40 # xref https://github.com/docker/setup-qemu-action/issues/188
41 image: tonistiigi/binfmt:qemu-v8.1.5
42 - uses: pypa/cibuildwheel@4726cd35bb13f7bde50cf2761f2499ac7b3aa32c # v4.1.1
43 env:
44 CIBW_ARCHS_LINUX: armv7l
45 CIBW_BUILD: cp313-manylinux_armv7l
46 # Fail the build instead of silently shipping a pure-Python wheel
47 REQUIRE_CYTHON: 1