Mercurial > hg
comparison contrib/heptapod-ci.yml @ 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 | 4550c024329d |
children | 13be751218e0 |
comparison
equal
deleted
inserted
replaced
52274:6aa4ee2bb128 | 52275:843c250fb2de |
---|---|
111 paths: | 111 paths: |
112 - wheels/ | 112 - wheels/ |
113 expire_in: 1 week | 113 expire_in: 1 week |
114 | 114 |
115 | 115 |
116 # build linux wheel for amd64 | |
116 build-c-wheel: | 117 build-c-wheel: |
117 extends: .build-wheel | 118 extends: .build-wheel |
118 variables: | 119 variables: |
119 WHEEL_TYPE: "c" | 120 WHEEL_TYPE: "c" |
120 parallel: | 121 parallel: |
187 needs: | 188 needs: |
188 - trigger-nightly-build | 189 - trigger-nightly-build |
189 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC | 190 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC |
190 needs: | 191 needs: |
191 - "trigger-wheel-i686-musl" | 192 - "trigger-wheel-i686-musl" |
193 | |
194 trigger-wheel-arm64: | |
195 extends: .trigger | |
196 stage: build | |
197 rules: | |
198 - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH | |
199 when: never | |
200 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC | |
201 when: manual | |
202 allow_failure: true | |
203 | |
204 build-c-wheel-arm64: | |
205 extends: build-c-wheel | |
206 image: "registry.heptapod.net/mercurial/ci-images/core-wheel-arm64-c:v3.0" | |
207 tags: | |
208 - arm64 | |
209 rules: | |
210 - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH | |
211 needs: | |
212 - trigger-nightly-build | |
213 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC | |
214 needs: | |
215 - "trigger-wheel-arm64" | |
216 | |
217 trigger-wheel-arm64-musl: | |
218 extends: .trigger | |
219 stage: build | |
220 rules: | |
221 - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH | |
222 when: never | |
223 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC | |
224 when: manual | |
225 allow_failure: true | |
226 | |
227 build-c-wheel-arm64-musl: | |
228 extends: build-c-wheel | |
229 image: "registry.heptapod.net/mercurial/ci-images/core-wheel-arm64-musl-c:v3.0" | |
230 tags: | |
231 - arm64 | |
232 rules: | |
233 - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH | |
234 needs: | |
235 - trigger-nightly-build | |
236 - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC | |
237 needs: | |
238 - "trigger-wheel-arm64-musl" | |
192 | 239 |
193 .runtests: | 240 .runtests: |
194 extends: .all | 241 extends: .all |
195 stage: tests | 242 stage: tests |
196 variables: | 243 variables: |
640 image: "registry.heptapod.net/mercurial/ci-images/twine:v3.0" | 687 image: "registry.heptapod.net/mercurial/ci-images/twine:v3.0" |
641 # because we don't want to upload only half of a wheel | 688 # because we don't want to upload only half of a wheel |
642 interruptible: false | 689 interruptible: false |
643 needs: | 690 needs: |
644 - build-c-wheel | 691 - build-c-wheel |
645 - build-c-wheel-macos | |
646 - build-c-wheel-windows | |
647 - build-c-wheel-musl | 692 - build-c-wheel-musl |
648 - build-c-wheel-i686 | 693 - build-c-wheel-i686 |
649 - build-c-wheel-i686-musl | 694 - build-c-wheel-i686-musl |
695 - build-c-wheel-arm64 | |
696 - build-c-wheel-arm64-musl | |
697 - build-c-wheel-macos | |
698 - build-c-wheel-windows | |
650 - test-result-linux | 699 - test-result-linux |
651 - test-result-macos | 700 - test-result-macos |
652 - test-result-windows | 701 - test-result-windows |
653 # It would be nice to be able to restrict that a bit to protected branch only | 702 # It would be nice to be able to restrict that a bit to protected branch only |
654 variables: | 703 variables: |