summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: db5a0e56135957414ac20a499b6b5148091edb8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
cirrus-ci_task:
  container:
    image: l.gcr.io/google/bazel:2.2.0
    cpu: 8
    memory: 12G
  configure_script:
    - cd .. && mv cirrus-ci-build c-toxcore
    - git clone --depth=1 https://github.com/TokTok/toktok-stack cirrus-ci-build
    - mv c-toxcore cirrus-ci-build
    - cd cirrus-ci-build
    - tools/setup-ci
    - bazel version
  test_all_script:
    - RUN_TEST="bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/..."
    - $RUN_TEST || $RUN_TEST