From c7002e837814b39a332cad1aec1e360a1c59b857 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 1 Dec 2023 12:54:26 +0100 Subject: [PATCH] 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 --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5