mirror of
https://github.com/namecoin/ncdns-repro
synced 2024-11-04 18:00:19 +00:00
Cirrus: Run "make clean" dry-run
This commit is contained in:
parent
1dda171af3
commit
050d0e4443
@ -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/
|
||||
|
14
tools/rbm.local.conf.onetarget
Normal file
14
tools/rbm.local.conf.onetarget
Normal 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
|
Loading…
Reference in New Issue
Block a user