Skip to content

Commit 9830a68

Browse files
committed
fix: build musllinux_1_2_s390x with QEMU
1 parent 9f2b400 commit 9830a68

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
("aarch64", "ubuntu-24.04-arm", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
5656
("i686", "ubuntu-24.04", ("manylinux2014", "musllinux_1_2")),
5757
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_31", "musllinux_1_2")),
58+
("s390x", "ubuntu-24.04", ("musllinux_1_2",)),
5859
]
5960
expanded = [{"policy": policy, "platform": platform, "runner": runner} for platform, runner, policies in reduced for policy in policies]
6061
print(json.dumps(expanded, indent=2))
@@ -82,6 +83,10 @@ jobs:
8283
with:
8384
fetch-depth: 50
8485

86+
- name: Set up QEMU
87+
if: matrix.platform == 's390x'
88+
uses: docker/setup-qemu-action@v3
89+
8590
- name: Set up Docker Buildx
8691
uses: docker/setup-buildx-action@v3
8792

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838
env: POLICY="manylinux_2_34" PLATFORM="s390x"
3939
- arch: ppc64le
4040
env: POLICY="manylinux_2_34" PLATFORM="ppc64le"
41-
- arch: s390x
42-
env: POLICY="musllinux_1_2" PLATFORM="s390x"
4341
- arch: ppc64le
4442
env: POLICY="musllinux_1_2" PLATFORM="ppc64le"
4543

0 commit comments

Comments
 (0)