On Mon, 24 Feb 2025, Andrew Cooper wrote: > This reduces the Clone step from ~50s to ~3s. > > Signed-off-by: Andrew Cooper <[email protected]>
Acked-by: Stefano Stabellini <[email protected]> > --- > CC: Roger Pau Monné <[email protected]> > CC: Anthony PERARD <[email protected]> > CC: Stefano Stabellini <[email protected]> > CC: Michal Orzel <[email protected]> > CC: Doug Goldstein <[email protected]> > > 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 >
