summaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 41533dd216af50827a459a4e7587e589ffccd784 (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
41
42
---
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
            llvm-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