mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +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.
24 lines
367 B
Bash
Executable File
24 lines
367 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if [ -n "${TRAVIS_TAG-}" ]
|
|
then
|
|
ver="$TRAVIS_TAG"
|
|
elif [ -n "${TRAVIS_COMMIT-}" ]
|
|
then
|
|
ver="$TRAVIS_COMMIT"
|
|
else
|
|
ver="$(git rev-parse HEAD)"
|
|
fi
|
|
|
|
mkdir -p release
|
|
|
|
for plat in linux64 darwin
|
|
do
|
|
sh/cross urbit "$plat"
|
|
|
|
echo "packaging release/urbit-$plat-$ver.tgz"
|
|
(cd cross/$plat; tar cz .) > release/urbit-$plat-$ver.tgz
|
|
done
|