]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
ci: also run continuous checks on push an PR
authorYann Dirson <yann.dirson@vates.tech>
Mon, 7 Oct 2024 08:55:29 +0000 (10:55 +0200)
committerYann Dirson <yann.dirson@vates.tech>
Mon, 7 Oct 2024 09:04:20 +0000 (11:04 +0200)
That will avoid "surprises" where a PR gets merged and continuous checks
then expectedly break during the whole weekend.

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

index 7bea2cc7ee175e0e3ba2dc35db9c5142de3298e7..4820a3e06158b26e22caa098fa4021b4cec26a28 100644 (file)
@@ -80,7 +80,7 @@ variables:
     CARGO_BUILD_TARGET: "aarch64-unknown-linux-gnu"
     BINDGEN_EXTRA_CLANG_ARGS_aarch64_unknown_linux_gnu: "--sysroot=/usr/aarch64-linux-gnu -idirafter/usr/include"
 
-.scheduled:
+.only-scheduled:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule"
 
@@ -301,13 +301,12 @@ build-linux-aarch64:
     - apt-get update
     - apt-get install -y libxen-dev:arm64
 
-## continuous checking against most recent dependencies
+## continuous checking against most recent dependencies (also on push/PR)
 
 build-latest-linux:
   parallel: !reference [.featurematrix,parallel]
   extends:
     - .debian-build-template
-    - .scheduled
   variables:
     CARGO_FLAGS: "-v"
     RUST_VERSION: "${RUST_MIN_VERSION}"
@@ -325,7 +324,6 @@ build-latest-freebsd13-x86_64:
   parallel: !reference [.featurematrix.no-netlink,parallel]
   extends:
     - .cross-freebsd13-x86_64-build-template
-    - .scheduled
   variables:
     CARGO_FLAGS: "-v"
   before_script: