2018-09-23 06:53:35 +08:00
|
|
|
---
|
|
|
|
cirrus-ci_task:
|
|
|
|
container:
|
2020-03-06 20:10:47 +08:00
|
|
|
image: l.gcr.io/google/bazel:2.2.0
|
2018-09-23 06:53:35 +08:00
|
|
|
cpu: 8
|
|
|
|
memory: 12G
|
|
|
|
configure_script:
|
|
|
|
- cd .. && mv cirrus-ci-build c-toxcore
|
2020-03-22 19:18:54 +08:00
|
|
|
- git clone --depth=1 https://github.com/TokTok/toktok-stack cirrus-ci-build
|
2018-09-23 06:53:35 +08:00
|
|
|
- mv c-toxcore cirrus-ci-build
|
2020-03-22 19:18:54 +08:00
|
|
|
- cd cirrus-ci-build
|
|
|
|
- tools/setup-ci
|
2019-01-13 05:28:21 +08:00
|
|
|
- bazel version
|
2018-09-23 06:53:35 +08:00
|
|
|
test_all_script:
|
2020-03-22 02:21:06 +08:00
|
|
|
- RUN_TEST="bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/..."
|
|
|
|
- $RUN_TEST || $RUN_TEST
|