2018-09-23 06:53:35 +08:00
|
|
|
---
|
|
|
|
cirrus-ci_task:
|
|
|
|
container:
|
2020-03-01 00:01:08 +08:00
|
|
|
image: l.gcr.io/google/bazel:2.1.0
|
2018-09-23 06:53:35 +08:00
|
|
|
cpu: 8
|
|
|
|
memory: 12G
|
|
|
|
configure_script:
|
2020-03-01 00:01:08 +08:00
|
|
|
- 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
|
2018-09-23 06:53:35 +08:00
|
|
|
- cd .. && mv cirrus-ci-build c-toxcore
|
2020-03-01 00:01:08 +08:00
|
|
|
- git clone --branch=upgrade-bazel --depth=1 https://github.com/iphydf/toktok-stack cirrus-ci-build
|
2018-09-23 06:53:35 +08:00
|
|
|
- mv c-toxcore cirrus-ci-build
|
|
|
|
- cd -
|
2019-01-13 05:28:21 +08:00
|
|
|
- bazel version
|
2018-09-23 06:53:35 +08:00
|
|
|
test_all_script:
|
2020-03-02 23:06:12 +08:00
|
|
|
- bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/...
|