mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
ade1e59ce1
* Add cross-compilation for `lmdb`. * Got built caching working in CI with `cachix`. * Cache cross compilation dependencies and toolchains. * Do release builds in CI. * Upload release builds to `bootstrap.urbit.org` on successful build. * Lots of optimization work for CI. * Boot from a solid pill in CI and load arvo with `-A`. * Increase `vere` HTTP timeout to 15m.
22 lines
307 B
Bash
Executable File
22 lines
307 B
Bash
Executable File
source $stdenv/setup
|
|
|
|
set -ex
|
|
|
|
$URBIT -d -F $SHIP -A "$ARVO" -B "$PILL" $out
|
|
|
|
check () {
|
|
[ 3 -eq "$(herb $out -d 3)" ]
|
|
}
|
|
|
|
if check
|
|
then
|
|
echo "Boot success." >&2
|
|
herb $out -p hood -d '+hood/exit' || true
|
|
else
|
|
echo "Boot failure." >&2
|
|
kill $(< $out/.vere.lock) || true
|
|
exit 1
|
|
fi
|
|
|
|
set +x
|