mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
a49cbe582d
To make this reproducible. With floating versions (always latest), this can break any time a new bazel version is released.
25 lines
788 B
YAML
25 lines
788 B
YAML
---
|
|
cirrus-ci_task:
|
|
container:
|
|
image: cirrusci/bazel:0.22.0
|
|
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:
|
|
- bazel test -c opt -k //c-toxcore/...
|