changeset 52265:a1f2e25b6b38 stable

wheel: also build the musl wheel in the ci We add a trigger to not run that all the time.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Nov 2024 07:20:12 +0100
parents c1a3e388b0e4
children af88f2b9b5b7
files contrib/heptapod-ci.yml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Thu Nov 14 22:09:36 2024 +0100
+++ b/contrib/heptapod-ci.yml	Fri Nov 15 07:20:12 2024 +0100
@@ -127,6 +127,27 @@
           - cp312-cp312
           - cp313-cp313
 
+trigger-wheel-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-musl:
+  extends: build-c-wheel
+  image: "registry.heptapod.net/mercurial/ci-images/core-wheel-x86_64-musl-c:v3.0"
+  rules:
+  - if: $CI_COMMIT_BRANCH =~ $RE_BRANCH
+    needs:
+      - trigger-nightly-build
+  - if: $CI_COMMIT_BRANCH =~ $RE_TOPIC
+    needs:
+      - "trigger-wheel-musl"
+
 .runtests:
     extends: .all
     stage: tests
@@ -581,6 +602,7 @@
     - build-c-wheel
     - build-c-wheel-macos
     - build-c-wheel-windows
+    - build-c-wheel-musl
     - test-result-linux
     - test-result-macos
     - test-result-windows