summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-02-29 16:01:08 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-02 14:23:44 +0000
commit0f7138c01006b35f2b1b477c30ae66ec243c21e1 (patch)
treecad019aebb27d64675c5937b68dcb33acfd64c77 /.cirrus.yml
parentf6c3ce6d1f23daec5d2e5d6e3c20408aba4c7e9c (diff)
Upgrade bazel to 2.1.1.
Removed av_test, because it depends on an ancient opencv that starts to really not exist on modern systems anymore.
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/...