]> xenbits.xensource.com Git - xen.git/commitdiff
CirrusCI: Use shallow clone
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 24 Feb 2025 15:36:11 +0000 (15:36 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 4 Apr 2025 10:33:55 +0000 (11:33 +0100)
This reduces the Clone step from ~50s to ~3s.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
(cherry picked from commit 96970b46e5e84fa2666f76f5b0972b826a3ffba4)

.cirrus.yml

index 7216729b699383da98dbd4864acc74ffba6f06a0..e2949d99d73a471d47defc652bc496bf2c0a7996 100644 (file)
@@ -13,6 +13,7 @@ freebsd_template: &FREEBSD_ENV
   environment:
     APPEND_LIB: /usr/local/lib
     APPEND_INCLUDES: /usr/local/include
+    CIRRUS_CLONE_DEPTH: 1
 
 freebsd_full_build_template: &FREEBSD_FULL_BUILD_TEMPLATE
   << : *FREEBSD_ENV