From 983c2c44fe42bfaa3e62961cfbbf1c9ea504c7bb Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 17 Mar 2020 03:21:54 +0000 Subject: [PATCH] Enable remote cache for bazel builds. --- .cirrus.yml | 2 +- .travis/bazel-linux | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4ff2851a..40ea4a53 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,7 +8,7 @@ cirrus-ci_task: - echo "build --jobs=50 --curses=no --verbose_failures" | tee ~/.bazelrc - echo "build --config=linux" | tee -a ~/.bazelrc - echo "build --config=clang" | tee -a ~/.bazelrc -# - echo "build --config=remote" | tee -a ~/.bazelrc + - echo "build --config=remote" | tee -a ~/.bazelrc - cd .. && mv cirrus-ci-build c-toxcore - git clone --branch=upgrade-bazel --depth=1 https://github.com/iphydf/toktok-stack cirrus-ci-build - mv c-toxcore cirrus-ci-build diff --git a/.travis/bazel-linux b/.travis/bazel-linux index eb496ed4..e76f3f86 100755 --- a/.travis/bazel-linux +++ b/.travis/bazel-linux @@ -12,6 +12,7 @@ travis_install() { echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc echo 'build --config=linux' >> $HOME/.bazelrc echo "build --config=$CC" >> $HOME/.bazelrc + echo "build --config=remote" >> $HOME/.bazelrc pip install --user yamllint }