mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
FIXES: #2527 * define custom docker image for travis-linux builds based on package build image * add macos builds * add windows builds (currently allowed to fail) * improve build and shell scripts as required for the CI envs * add asio timer latency workaround * omit several manual tests from TravisCI which cause memory exhaustion
30 lines
931 B
Bash
Executable File
30 lines
931 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# some cached files create churn, so save them here for
|
|
# later restoration before packing the cache
|
|
set -eux
|
|
pushd ${TRAVIS_HOME}
|
|
if [ -f cache_ignore.tar ] ; then
|
|
rm -f cache_ignore.tar
|
|
fi
|
|
|
|
if [ -d _cache/nih_c ] ; then
|
|
find _cache/nih_c -name "build.ninja" | tar rf cache_ignore.tar --files-from -
|
|
find _cache/nih_c -name ".ninja_deps" | tar rf cache_ignore.tar --files-from -
|
|
find _cache/nih_c -name ".ninja_log" | tar rf cache_ignore.tar --files-from -
|
|
find _cache/nih_c -name "*.log" | tar rf cache_ignore.tar --files-from -
|
|
find _cache/nih_c -name "*.tlog" | tar rf cache_ignore.tar --files-from -
|
|
# show .a files in the cache, for sanity checking
|
|
find _cache/nih_c -name "*.a" -ls
|
|
fi
|
|
|
|
if [ -d _cache/ccache ] ; then
|
|
find _cache/ccache -name "stats" | tar rf cache_ignore.tar --files-from -
|
|
fi
|
|
|
|
if [ -f cache_ignore.tar ] ; then
|
|
tar -tf cache_ignore.tar
|
|
fi
|
|
popd
|
|
|
|
|