Enable remote cache for bazel builds.

This commit is contained in:
iphydf 2020-03-17 03:21:54 +00:00
parent 52696a0686
commit 983c2c44fe
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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
}