File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 88 matrix :
99 include :
1010 - arch : amd64
11- manylinux_arch : x86_64
11+ manylinux_arch : manylinux2014_x86_64
1212 docker_image : debian:bullseye
1313
1414 - arch : arm64
15- manylinux_arch : aarch64
15+ manylinux_arch : manylinux2014_aarch64
1616 docker_image : arm64v8/debian:bullseye
1717
1818 - arch : ppc64le
19- manylinux_arch : ppc64le
19+ manylinux_arch : manylinux2014_ppc64le
2020 docker_image : ppc64le/debian:bullseye
2121
2222 - arch : s390x
23- manylinux_arch : s390x
23+ manylinux_arch : manylinux2014_s390x
2424 docker_image : s390x/debian:bullseye
2525
26+ - arch : riscv64
27+ manylinux_arch : manylinux_2_39_riscv64
28+ docker_image : riscv64/debian:trixie
29+
2630 env :
2731 BASE_IMAGE : ${{ matrix.docker_image }}
32+ TARGETARCH : ${{ matrix.arch }}
2833
2934 steps :
3035 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -30,15 +30,16 @@ release: python-dists
3030 > sha256sums
3131
3232.PHONY : python-dists
33- python-dists : python-dists-x86_64 python-dists-aarch64 python-dists-ppc64le python-dists-s390x
33+ python-dists : python-dists-manylinux2014_x86_64 python-dists-manylinux2014_aarch64 python-dists-manylinux2014_ppc64le python-dists-manylinux2014_s390x python-dists-manylinux_2_39_riscv64
3434
3535.PHONY : python-dists-%
3636python-dists-% : VERSION.h
3737 python setup.py sdist
3838 docker run \
39+ $(if $(TARGETARCH ) ,--platform linux/$(TARGETARCH ) ) \
3940 --user $$(id -u ) :$$(id -g ) \
4041 -v ` pwd` /dist:/dist:rw \
41- quay.io/pypa/manylinux2014_ $* :latest \
42+ quay.io/pypa/$* :latest \
4243 bash -exc ' \
4344 /opt/python/cp38-cp38/bin/pip wheel --wheel-dir /tmp /dist/* .tar.gz && \
4445 auditwheel repair --wheel-dir /dist /tmp/* .whl --wheel-dir /dist \
@@ -61,7 +62,12 @@ builddeb-docker: docker-image
6162
6263.PHONY : docker-image
6364docker-image :
64- docker build $(if $(BASE_IMAGE ) ,--build-arg BASE_IMAGE=$(BASE_IMAGE ) ) -t dumb-init-build .
65+ docker buildx build \
66+ $(if $(TARGETARCH ) ,--platform linux/$(TARGETARCH ) ) \
67+ $(if $(BASE_IMAGE ) ,--build-arg BASE_IMAGE=$(BASE_IMAGE ) ) \
68+ --load \
69+ -t dumb-init-build \
70+ .
6571
6672.PHONY : test
6773test :
You can’t perform that action at this time.
0 commit comments