toxcore/.circleci/config.yml

43 lines
745 B
YAML
Raw Normal View History

---
version: 2
workflows:
version: 2
clang-sanitizers:
jobs:
- asan
- tsan
jobs:
2018-08-19 19:02:16 +08:00
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
2018-08-19 19:02:16 +08:00
tsan:
working_directory: ~/work
docker:
- image: ubuntu
2018-08-19 19:02:16 +08:00
steps:
- checkout
- run: *apt_install
- run: CC=clang .circleci/cmake-tsan