summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml21
1 files changed, 7 insertions, 14 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index e7673d11..0234f062 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,24 +1,17 @@
1--- 1---
2cirrus-ci_task: 2cirrus-ci_task:
3 container: 3 container:
4 image: cirrusci/bazel:0.22.0 4 image: l.gcr.io/google/bazel:2.1.0
5 cpu: 8 5 cpu: 8
6 memory: 12G 6 memory: 12G
7 configure_script: 7 configure_script:
8 - sudo apt update 8 - echo "build --jobs=50 --curses=no --verbose_failures" | tee ~/.bazelrc
9 - sudo apt install -y 9 - echo "build --config=linux" | tee -a ~/.bazelrc
10 autopoint 10 - echo "build --config=clang" | tee -a ~/.bazelrc
11 libasound2-dev 11# - echo "build --config=remote" | tee -a ~/.bazelrc
12 libcv-dev
13 libhighgui-dev
14 libopenal-dev
15 - echo "build --jobs=50 --curses=no --verbose_failures" | sudo tee /etc/bazel.bazelrc
16 - echo "build --config=linux" | sudo tee -a /etc/bazel.bazelrc
17 - echo "build --config=gcc" | sudo tee -a /etc/bazel.bazelrc
18 - echo "build --config=remote" | sudo tee -a /etc/bazel.bazelrc
19 - cd .. && mv cirrus-ci-build c-toxcore 12 - cd .. && mv cirrus-ci-build c-toxcore
20 - git clone --depth=1 https://github.com/TokTok/toktok-stack cirrus-ci-build 13 - git clone --branch=upgrade-bazel --depth=1 https://github.com/iphydf/toktok-stack cirrus-ci-build
21 - mv c-toxcore cirrus-ci-build 14 - mv c-toxcore cirrus-ci-build
22 - cd - 15 - cd -
23 test_all_script: 16 test_all_script:
24 - bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/... 17 - bazel test --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/...