summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: 0234f0623c14777cd81019b9ad28df4ea18d134f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
cirrus-ci_task:
  container:
    image: l.gcr.io/google/bazel:2.1.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 -
  test_all_script:
    - bazel test --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/...