Mercurial > hg
changeset 52275:843c250fb2de stable
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 13 Nov 2024 22:42:35 +0100 |
parents | 6aa4ee2bb128 |
children | 13be751218e0 |
files | contrib/heptapod-ci.yml |
diffstat | 1 files changed, 51 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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