2018-09-23 06:53:35 +08:00
|
|
|
---
|
|
|
|
cirrus-ci_task:
|
|
|
|
container:
|
2019-03-24 08:39:37 +08:00
|
|
|
image: cirrusci/bazel:0.22.0
|
2018-09-23 06:53:35 +08:00
|
|
|
cpu: 8
|
|
|
|
memory: 12G
|
|
|
|
configure_script:
|
|
|
|
- sudo apt update
|
|
|
|
- sudo apt install -y
|
|
|
|
autopoint
|
|
|
|
libasound2-dev
|
|
|
|
libcv-dev
|
|
|
|
libhighgui-dev
|
|
|
|
libopenal-dev
|
|
|
|
- echo "build --jobs=50 --curses=no --verbose_failures" | sudo tee /etc/bazel.bazelrc
|
|
|
|
- echo "build --config=linux" | sudo tee -a /etc/bazel.bazelrc
|
|
|
|
- echo "build --config=gcc" | sudo tee -a /etc/bazel.bazelrc
|
|
|
|
- echo "build --config=remote" | sudo tee -a /etc/bazel.bazelrc
|
|
|
|
- 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 -
|
|
|
|
test_all_script:
|
2019-07-21 22:23:33 +08:00
|
|
|
- bazel test --copt=-DUSE_IPV6=0 -c opt -k //c-toxcore/...
|