Commit cadf19d
committed
ci(pip-build): respect disable-build-* labels for ubuntu / macos
`test-pip-build` (the workflow_call into pip-build.yml) ignored the
`disable-build-<platform>` PR labels and always tried to run the full
manylinux + macOS matrix. That bit PR #6090: a `disable-build-linux-vcpkg`
label suppressed the prepare-image step, but `test-pip-build` still tried to
pull the branch-tagged Rocky Linux image and failed with `manifest unknown`.
Plumb three new boolean inputs through pip-build.yml --
`disable_ubuntu_x64`, `disable_ubuntu_arm64`, `disable_macos` -- and gate
the matching build/test jobs:
- manylinux-pip-build / manylinux-pip-test: per-platform `if:` keyed on
`matrix.platform` so x86_64 and aarch64 can be disabled independently
(matches the `disable-build-ubuntu-{x64,arm64}` split elsewhere).
- macos-pip-build / macos-pip-test: single `if:` gated on `disable_macos`
(both x86 and arm64 macOS variants together, matching the single
`disable-build-macos` label).
`build-test-distribute.yml` derives the three flags from the same
`build_enable_<platform>` outputs that `prepare-image` already uses on the
adjacent line.
Out of scope (not requested): `disable-build-windows` (windows-pip-build
keeps running) and `disable-build-emscripten` (pip-build.yml has no
emscripten target).1 parent c0c1b74 commit cadf19d
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
321 | 326 | | |
322 | 327 | | |
323 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
| |||
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
60 | 78 | | |
61 | 79 | | |
62 | 80 | | |
| |||
358 | 376 | | |
359 | 377 | | |
360 | 378 | | |
| 379 | + | |
361 | 380 | | |
362 | 381 | | |
363 | 382 | | |
| |||
448 | 467 | | |
449 | 468 | | |
450 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
451 | 473 | | |
452 | 474 | | |
453 | 475 | | |
| |||
571 | 593 | | |
572 | 594 | | |
573 | 595 | | |
| 596 | + | |
574 | 597 | | |
575 | 598 | | |
576 | 599 | | |
| |||
0 commit comments