File: .cirrus.yml

package info (click to toggle)
libtoxcore 0.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,128 kB
  • sloc: ansic: 35,951; cpp: 1,535; sh: 642; python: 197; makefile: 78
file content (24 lines) | stat: -rw-r--r-- 788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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/...