Cirrus: Don't try to cache release project

pull/88/head
Jeremy Rand 3 years ago
parent eab6460b26
commit 4243f1657b
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

@ -32,6 +32,9 @@ else
fi
ls ./git_clones
if [[ "$PROJECT" == "release" ]]; then
echo "release project is never cached."
else
echo "Checking if project is cached..."
OUTDIR="$(./rbm/rbm showconf $PROJECT output_dir --target $CHANNEL --target ncdns-$OS-$ARCH)"
OUTFILE="$(./rbm/rbm showconf $PROJECT filename --target $CHANNEL --target ncdns-$OS-$ARCH)"
@ -41,6 +44,7 @@ if [[ -e "$OUTDIR/$OUTFILE" ]]; then
else
echo "Project cache miss, proceeding with build."
fi
fi
# VM has 12 GB of free RAM. Assuming each of the 4 logical cores takes 1 GB
# during build, that leaves us with 8 GB of unutilized RAM. Alas, I'm not sure

Loading…
Cancel
Save