Disable bazel remote cache on CI.

code.tox.chat is down.
This commit is contained in:
iphydf 2020-03-21 18:21:06 +00:00
parent 94c2a5182b
commit 88814e9f1d
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -8,11 +8,12 @@ cirrus-ci_task:
- echo "build --jobs=50 --curses=no --verbose_failures" | tee ~/.bazelrc - echo "build --jobs=50 --curses=no --verbose_failures" | tee ~/.bazelrc
- echo "build --config=linux" | tee -a ~/.bazelrc - echo "build --config=linux" | tee -a ~/.bazelrc
- echo "build --config=clang" | 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 - cd .. && mv cirrus-ci-build c-toxcore
- git clone --branch=upgrade-bazel --depth=1 https://github.com/iphydf/toktok-stack cirrus-ci-build - git clone --branch=upgrade-bazel --depth=1 https://github.com/iphydf/toktok-stack cirrus-ci-build
- mv c-toxcore cirrus-ci-build - mv c-toxcore cirrus-ci-build
- cd - - cd -
- bazel version - bazel version
test_all_script: test_all_script:
- bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/... - RUN_TEST="bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/..."
- $RUN_TEST || $RUN_TEST