Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split wheel builds to disable manylinux armv7l wheels #76

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,24 @@ jobs:
- ubuntu
- windows
- macos
tag:
- ''
- 'musllinux'
exclude:
- os: windows
tag: 'musllinux'
- os: macos
tag: 'musllinux'
- os: ubuntu
tag: >-
${{
(github.event_name != 'push' || !contains(github.ref, 'refs/tags/'))
&& 'musllinux' || 'none'
}}
uses: ./.github/workflows/reusable-build-wheel.yml
with:
os: ${{ matrix.os }}
tag: ${{ matrix.tag }}
wheel-tags-to-skip: >-
${{
(github.event_name != 'push' || !contains(github.ref, 'refs/tags/'))
Expand All @@ -144,7 +159,8 @@ jobs:
*-musllinux_*
*-win32
pp*'
|| ''
|| (matrix.tag == 'musllinux') && '*-manylinux_* pp*'
|| '*-musllinux_* pp*'
}}
source-tarball-name: >-
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
Expand Down Expand Up @@ -464,9 +480,22 @@ jobs:
- ppc64le
- s390x
- armv7l
tag:
- ''
- musllinux
exclude:
- tag: ''
qemu: armv7l
uses: ./.github/workflows/reusable-build-wheel.yml
with:
qemu: ${{ matrix.qemu }}
tag: ${{ matrix.tag }}
wheel-tags-to-skip: >-
${{
(matrix.tag == 'musllinux')
&& '*-manylinux_* pp*'
|| '*-musllinux_* pp*'
}}
source-tarball-name: >-
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/reusable-build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
default: ''
required: false
type: string
tag:
description: Build platform tag wheels
default: ''
required: false
type: string
source-tarball-name:
description: Sdist filename wildcard
required: true
Expand All @@ -42,7 +47,8 @@ env:
jobs:

build-wheel:
name: Build wheels on ${{ inputs.os }} ${{ inputs.qemu }}
name: >-
Build ${{ inputs.tag }} wheels on ${{ inputs.os }} ${{ inputs.qemu }}
runs-on: ${{ inputs.os }}-latest
timeout-minutes: ${{ inputs.qemu && 60 || 20 }}
steps:
Expand Down Expand Up @@ -83,8 +89,10 @@ jobs:
- name: Upload built artifacts for testing and publishing
uses: actions/upload-artifact@v4
with:
name: >-
${{ inputs.dists-artifact-name }}-${{ inputs.os }}-${{ inputs.qemu }}
name: ${{ inputs.dists-artifact-name }}-
${{ inputs.os }}-
${{ inputs.qemu }}-
${{ inputs.tag }}
path: ./wheelhouse/*.whl

...
Loading