summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-04-24 14:18:00 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-04-24 14:43:37 +0000
commit2c45d45133ff32d9c2c7a7ca81b1352b1aa74458 (patch)
treee0106e2167d1de857c337c690afb6691e701842b /.cirrus.yml
parent7c0eb5c70bea026eca665466b05213e7b21e3cba (diff)
Fix continuous integration builds.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml21
1 files changed, 10 insertions, 11 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index db5a0e56..ab863125 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,16 +1,15 @@
1--- 1---
2cirrus-ci_task: 2cirrus-ci_task:
3 container: 3 container:
4 image: l.gcr.io/google/bazel:2.2.0 4 image: toxchat/toktok-stack:0.0.7
5 cpu: 8 5 cpu: 2
6 memory: 12G 6 memory: 2G
7 configure_script: 7 configure_script:
8 - cd .. && mv cirrus-ci-build c-toxcore 8 - /src/workspace/tools/inject-repo c-toxcore
9 - git clone --depth=1 https://github.com/TokTok/toktok-stack cirrus-ci-build
10 - mv c-toxcore cirrus-ci-build
11 - cd cirrus-ci-build
12 - tools/setup-ci
13 - bazel version
14 test_all_script: 9 test_all_script:
15 - RUN_TEST="bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/..." 10 - bazel test -k
16 - $RUN_TEST || $RUN_TEST 11 --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
12 --config=ci
13 --config=docker
14 --config=release
15 //c-toxcore/...