This reduces the Clone step from ~50s to ~3s. Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- CC: Roger Pau Monné <roger....@citrix.com> CC: Anthony PERARD <anthony.per...@vates.tech> CC: Stefano Stabellini <sstabell...@kernel.org> CC: Michal Orzel <michal.or...@amd.com> CC: Doug Goldstein <car...@cardoe.com>
Example with shallow clone: https://cirrus-ci.com/task/4625566281760768 Example without: https://cirrus-ci.com/task/5338544140451840 --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 7216729b6993..e2949d99d73a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 base-commit: e16acd80674002cbc6b51626e826bd6f9f624a63 -- 2.39.5