toxcore/.cirrus.yml
iphydf 88814e9f1d
Disable bazel remote cache on CI.
code.tox.chat is down.
2020-03-21 20:30:12 +00:00

20 lines
696 B
YAML

---
cirrus-ci_task:
container:
image: l.gcr.io/google/bazel:2.2.0
cpu: 8
memory: 12G
configure_script:
- 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
- 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
- cd -
- bazel version
test_all_script:
- RUN_TEST="bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/..."
- $RUN_TEST || $RUN_TEST