summaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 0d2044040d793c8cafd93b6eecd7163fce959d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 2

workflows:
  version: 2
  build_linux:
    jobs:
    - asan
    - tsan

jobs:
  asan:
    working_directory: ~/work
    docker:
    - image: ubuntu

    steps:
    - checkout
    - run: &apt_install
           apt update &&
           apt install -y --no-install-recommends
             clang
             cmake
             libconfig-dev
             libgtest-dev
             libopus-dev
             libsodium-dev
             libvpx-dev
             ninja-build
             pkg-config
    - run: CC=clang .circleci/cmake-asan

  tsan:
    working_directory: ~/work
    docker:
    - image: ubuntu

    steps:
    - checkout
    - run: *apt_install
    - run: CC=clang .circleci/cmake-tsan