diff --git a/scripts/concourse/docs_wheels.yml b/scripts/concourse/docs_wheels.yml index ccfd12949..d902947bc 100644 --- a/scripts/concourse/docs_wheels.yml +++ b/scripts/concourse/docs_wheels.yml @@ -303,3 +303,73 @@ jobs: devpi use https://m.devpi.net/dc/master devpi login ((devpi.login)) --password ((devpi.password)) devpi upload py-wheels/*musllinux_1_1_x86_64* + +- name: python-musl-aarch64 + plan: + - get: deltachat-core-rust + - get: deltachat-core-rust-release + trigger: true + + # Build manylinux image with additional dependencies + - task: build-coredeps + privileged: true + config: + inputs: + # Building the latest, not tagged coredeps + - name: deltachat-core-rust + image_resource: + source: + repository: concourse/oci-build-task + type: registry-image + outputs: + - name: coredeps-image + path: image + params: + CONTEXT: deltachat-core-rust/scripts/coredeps + UNPACK_ROOTFS: "true" + BUILD_ARG_BASEIMAGE: quay.io/pypa/musllinux_1_1_aarch64 + platform: linux + caches: + - path: cache + run: + path: build + + # Use built image to build python wheels + - task: build-wheels + image: coredeps-image + config: + inputs: + - name: deltachat-core-rust-release + path: . + outputs: + - name: py-wheels + path: ./python/.docker-tox/wheelhouse/ + platform: linux + run: + path: bash + args: + - -exc + - | + scripts/run_all.sh + + # Upload musl aarch64 wheels + - task: upload-wheels + config: + inputs: + - name: py-wheels + image_resource: + type: registry-image + source: + repository: debian + platform: linux + run: + path: sh + args: + - -ec + - | + apt-get update -y + apt-get install -y --no-install-recommends python3-pip python3-setuptools + pip3 install devpi + devpi use https://m.devpi.net/dc/master + devpi login ((devpi.login)) --password ((devpi.password)) + devpi upload py-wheels/*musllinux_1_1_aarch64*