From: Yann Dirson Date: Fri, 1 Dec 2023 11:54:26 +0000 (+0100) Subject: ci: separate test-builds from release-builds, as being "just checks" X-Git-Tag: 0.4.0~9^2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c7002e837814b39a332cad1aec1e360a1c59b857;p=xen-guest-agent.git ci: separate test-builds from release-builds, as being "just checks" 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 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 873c57a..b4c83ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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