# HG changeset patch # User Pierre-Yves David # Date 1731534155 -3600 # Node ID 843c250fb2de0b229861b744758e1480e9dd71f7 # Parent 6aa4ee2bb128596e8a4a967786580845ae64e945 wheel: also build wheel for linux arm64 in the CI We don't test them yet, but we build them, as as many other flavors. diff -r 6aa4ee2bb128 -r 843c250fb2de contrib/heptapod-ci.yml --- a/contrib/heptapod-ci.yml Fri Nov 15 21:52:31 2024 -0500 +++ b/contrib/heptapod-ci.yml Wed Nov 13 22:42:35 2024 +0100 @@ -113,6 +113,7 @@ expire_in: 1 week +# build linux wheel for amd64 build-c-wheel: extends: .build-wheel variables: @@ -190,6 +191,52 @@ needs: - "trigger-wheel-i686-musl" +trigger-wheel-arm64: + extends: .trigger + stage: build + rules: + - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH + when: never + - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC + when: manual + allow_failure: true + +build-c-wheel-arm64: + extends: build-c-wheel + image: "registry.heptapod.net/mercurial/ci-images/core-wheel-arm64-c:v3.0" + tags: + - arm64 + rules: + - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH + needs: + - trigger-nightly-build + - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC + needs: + - "trigger-wheel-arm64" + +trigger-wheel-arm64-musl: + extends: .trigger + stage: build + rules: + - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH + when: never + - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC + when: manual + allow_failure: true + +build-c-wheel-arm64-musl: + extends: build-c-wheel + image: "registry.heptapod.net/mercurial/ci-images/core-wheel-arm64-musl-c:v3.0" + tags: + - arm64 + rules: + - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH + needs: + - trigger-nightly-build + - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC + needs: + - "trigger-wheel-arm64-musl" + .runtests: extends: .all stage: tests @@ -642,11 +689,13 @@ interruptible: false needs: - build-c-wheel - - build-c-wheel-macos - - build-c-wheel-windows - build-c-wheel-musl - build-c-wheel-i686 - build-c-wheel-i686-musl + - build-c-wheel-arm64 + - build-c-wheel-arm64-musl + - build-c-wheel-macos + - build-c-wheel-windows - test-result-linux - test-result-macos - test-result-windows