Cirrus: Run "make clean" dry-run

This commit is contained in:
Jeremy Rand 2021-02-21 02:15:05 +00:00
parent 1dda171af3
commit 050d0e4443
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711
2 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,8 @@ make submodule-update
echo "Configuring rbm..."
# Print logs to Cirrus.
cat rbm.local.conf.example | sed "s/#build_log: '-'/build_log: '-'/g" > rbm.local.conf
# Configure "make clean"
cat tools/rbm.local.conf.onetarget | sed "s/CHANNEL/$CHANNEL/g" | sed "s/ncdns-all/ncdns-$OS-$ARCH/g" >> rbm.local.conf
echo "Patching rbm..."
pushd tor-browser-build
@ -76,6 +78,9 @@ fi
# debootstrap-images too.
echo "Cleaning cache..."
rm -rfv out/container-image
if [[ "$SHOULD_BUILD" -eq 0 ]]; then
./tools/clean-old --dry-run
fi
echo "Splitting caches..."
rsync -avu --delete ./out/macosx-toolchain ./out_cache1/

View File

@ -0,0 +1,14 @@
var:
### The clean configuration is used by the cleaning script to find the
### branches and build targets you are using, to compute the list of
### files that should be kept.
###
### If you only do alpha builds for all platforms, you can use the
### following configuration:
clean:
HEAD:
- project: release
target:
- CHANNEL
- ncdns-all