mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 12:54:38 +00:00
remove build cache when on gh actions
This commit is contained in:
parent
b9f1d9bca9
commit
b8d925ec82
1 changed files with 10 additions and 0 deletions
|
@ -16,6 +16,11 @@ fi
|
||||||
|
|
||||||
../prepare_moneroc.sh
|
../prepare_moneroc.sh
|
||||||
|
|
||||||
|
if [[ ! "x$RUNNER_OS" == "x" ]];
|
||||||
|
then
|
||||||
|
REMOVE_CACHES=ON
|
||||||
|
fi
|
||||||
|
|
||||||
# NOTE: -j1 is intentional. Otherwise you will run into weird behaviour on macos
|
# NOTE: -j1 is intentional. Otherwise you will run into weird behaviour on macos
|
||||||
if [[ ! "x$USE_DOCKER" == "x" ]];
|
if [[ ! "x$USE_DOCKER" == "x" ]];
|
||||||
then
|
then
|
||||||
|
@ -33,9 +38,14 @@ else
|
||||||
do
|
do
|
||||||
pushd ../monero_c
|
pushd ../monero_c
|
||||||
./build_single.sh ${COIN} x86_64-linux-android $NPROC
|
./build_single.sh ${COIN} x86_64-linux-android $NPROC
|
||||||
|
[[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/x86_64-linux-android
|
||||||
# ./build_single.sh ${COIN} i686-linux-android $NPROC
|
# ./build_single.sh ${COIN} i686-linux-android $NPROC
|
||||||
|
# [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/i686-linux-android
|
||||||
./build_single.sh ${COIN} arm-linux-androideabi $NPROC
|
./build_single.sh ${COIN} arm-linux-androideabi $NPROC
|
||||||
|
[[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/arm-linux-androideabi
|
||||||
./build_single.sh ${COIN} aarch64-linux-android $NPROC
|
./build_single.sh ${COIN} aarch64-linux-android $NPROC
|
||||||
|
[[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/aarch64-linux-android
|
||||||
|
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue