Skip to content

Commit 6bb1629

Browse files
author
Matthias Koeppe
committed
.github/workflows/dist.yml: Update for linux-aarch64, musllinux
1 parent c408c94 commit 6bb1629

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/dist.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,25 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46+
os: [ubuntu-latest]
47+
arch: [x86_64, i686, aarch64]
48+
build: [manylinux, musllinux]
4649
include:
47-
- os: ubuntu-latest
48-
arch: x86_64
49-
- os: ubuntu-latest
50-
arch: i686
5150
- os: macos-13
5251
arch: x86_64
52+
build: macosx
5353
- os: macos-14
5454
arch: arm64
55+
build: macosx
5556
env:
5657
# SPKGs to install as system packages
5758
SPKGS: _bootstrap _prereq
5859
# Non-Python packages to install as spkgs
5960
TARGETS_PRE: coin-build-deps
61+
#
62+
CIBW_BUILD: "*${{ matrix.build }}*"
6063
# Disable building PyPy wheels on all platforms
61-
# Disable musllinux until #33083 provides alpine package information
62-
CIBW_SKIP: "pp* *-musllinux*"
64+
CIBW_SKIP: "pp*"
6365
#
6466
CIBW_ARCHS: ${{ matrix.arch }}
6567
# https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python
@@ -74,6 +76,12 @@ jobs:
7476
repository: sagemath/sage
7577
ref: develop
7678

79+
- name: Set up QEMU
80+
if: runner.os == 'Linux' && matrix.arch != 'x86_64' && matrix.arch != 'i686'
81+
uses: docker/setup-qemu-action@v3
82+
with:
83+
platforms: all
84+
7785
- uses: actions/download-artifact@v4
7886
with:
7987
name: dist
@@ -106,7 +114,7 @@ jobs:
106114
107115
- uses: actions/upload-artifact@v4
108116
with:
109-
name: ${{ matrix.os }}-${{ matrix.arch }}-wheels
117+
name: ${{ matrix.os }}-${{ matrix.build }}-${{ matrix.arch }}-wheels
110118
path: ./wheelhouse/*.whl
111119

112120
pypi-publish:

0 commit comments

Comments
 (0)