]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
ci: separate test-builds from release-builds, as being "just checks"
authorYann Dirson <yann.dirson@vates.fr>
Fri, 1 Dec 2023 11:54:26 +0000 (12:54 +0100)
committerYann Dirson <yann.dirson@vates.fr>
Thu, 11 Jan 2024 10:43:00 +0000 (11:43 +0100)
We'll want to have more checks, and they will naturally fit in that new
stage, rather than delaying test builds with a separate "check" stage.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
.gitlab-ci.yml

index 873c57a3d5b571893eb90a38e9b9f9b6fa0165f2..b4c83ce03054af35200d0c6200507897591069e3 100644 (file)
@@ -1,6 +1,7 @@
 stages:
   - setup
-  - build
+  - check
+  - release-build
   - package
   - deploy
 
@@ -18,7 +19,7 @@ variables:
   PKG_ROOT: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic"
 
 .build-template:
-  stage: build
+  stage: check
   script:
     - cargo build ${FEATURES} ${CARGO_FLAGS}
 
@@ -176,6 +177,7 @@ build-linux:
     - !reference [.not-scheduled,rules]
 
 build-release-linux-x86_64:
+  stage: release-build
   extends:
     - .debian-build-template
     - .not-scheduled
@@ -195,6 +197,7 @@ build-freebsd13-x86_64:
     CARGO_FLAGS: "-v"
 
 build-release-freebsd13-x86_64:
+  stage: release-build
   extends:
     - .cross-freebsd13-x86_64-build-template
     - .not-scheduled